Skip to content

v0.9.0 - 26 October 2018

Compare
Choose a tag to compare
@andreidmt andreidmt released this 26 Oct 10:29
· 447 commits to master since this release

Add

  • Add replace - Replace substring if source is string, replace element (shallow equal) if source is Array.
  • Add string__trim - Remove char from beginning and end of string
  • Add array__drop-last - Remove elements from end of array
  • Add fs__rename-file - Rename a file given a path string

Remove

  • Remove src/fs.js entry point
    • rename fs__find -> fs__find-files and add to main index
    • load findFiles like const { findFiles } = require("m"), oposed to const { find } = require("m/src/fs")