Fork of updeep using Remeda
Go to file
Aaron Jensen 90e6797a96 0.1.1
2015-08-01 09:17:30 -07:00
lib Use lodash assign instead 2015-08-01 09:09:52 -07:00
test Use lodash assign instead 2015-08-01 09:09:52 -07:00
.babelrc Enable loose mode 2015-08-01 09:09:21 -07:00
.editorconfig Initial commit w/ yo node 2015-07-31 08:53:25 -07:00
.eslintrc Convert to es6 modules 2015-08-01 08:13:25 -07:00
.gitattributes Initial commit w/ yo node 2015-07-31 08:53:25 -07:00
.gitignore Initial commit w/ yo node 2015-07-31 08:53:25 -07:00
.travis.yml Initial commit w/ yo node 2015-07-31 08:53:25 -07:00
gulpfile.js Remove coverage stuff 2015-08-01 08:43:21 -07:00
LICENSE.txt Initial commit w/ yo node 2015-07-31 08:53:25 -07:00
package.json 0.1.1 2015-08-01 09:17:30 -07:00
README.md Update readme 2015-08-01 09:17:21 -07:00

updeep NPM version Build Status Dependency Status

Easily update immutable objects (frozen or not) in a declarative way.

Install

$ npm install --save updeep

Usage

var u = require('updeep');

u({ foo: 3 }, { foo: 1, bar: 2 });
// => { foo: 3, bar: 2 }

Or with a function:
u({ foo: x => (x + 1) }, { foo: 2 });
// => { foo: 3 }

License

MIT © Aaron Jensen