Releases: asd-xiv/m
Releases · asd-xiv/m
v0.9.0 - 26 October 2018
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
likeconst { findFiles } = require("m")
, oposed toconst { find } = require("m/src/fs")
- rename
v0.8.1 - 24 October 2018
Changed
- Write tests for and update
array__remove
- to accept primitive value or filter function
v0.8.0 - 24 October 2018
Added
- Add
string__contains
- Test if string contains substring - Add
string__endsWith
- Test if string ends with substring
v0.7.0 - 22 October 2018
Added
- Add
array__replace-by
- Find and replace object in array
v0.6.0 - 20 October 2018
Added
- Add
array_repeat
to generate an array of fixed size containing a specified value or function result
Removed
- Remove
flow
support