Usefull ramda functions. ๐
$ git clone [email protected]:thechatshop/runction.git
$ cd runction
$ npm install
$ npm install @thechatshop/runction
const {deepRemoveKeys} = require('@thechatshop/runction');
const myObject = {
removeMe: 'noooo',
keepMe: 'yes',
nested : {
removeMe: 'nooo',
keepMeNested: yes
}
}
const result = deepRemoveKeys(['removeMe'], myObject);
$ npm run test # add -- --watch to monitor for changes
This app will automatically get published under @thechatshop/runction
on npm (when new code is on master and a new tag exists with vX.X.X
format)
๐จ Check the config.yml for more
Here is an example:
git checkout master
# Will generate a tag as well
npm version patch #or major, minor, patch
git push --follow-tags
The Chat Shop proprietary license