npm.io
1.2.0 • Published 7 years ago

runction

Licence
ISC
Version
1.2.0
Deps
0
Size
217 kB
Vulns
0
Weekly
0

Runction

Usefull ramda functions.

Development

$ git clone git@github.com:thechatshop/runction.git
$ cd runction
$ npm install

Install

$ npm install @thechatshop/runction

Usage

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

$ npm run test     # add -- --watch to monitor for changes

Deploy

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

License

The Chat Shop proprietary license