1.2.0 • Published 7 years ago
runction v1.2.0
Runction :tea:
Usefull ramda functions. :rocket:
Development :computer:
$ git clone git@github.com:thechatshop/runction.git
$ cd runction
$ npm installInstall :hammer:
$ npm install @thechatshop/runctionUsage
deep-remove-keys
const {deepRemoveKeys} = require('@thechatshop/runction');
const myObject = {
removeMe: 'noooo',
keepMe: 'yes',
nested : {
removeMe: 'nooo',
keepMeNested: yes
}
}
const result = deepRemoveKeys(['removeMe'], myObject);Testing :bomb:
$ npm run test # add -- --watch to monitor for changesDeploy :ship:
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)
:rotating_light: 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-tagsLicense
The Chat Shop proprietary license