Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mixobjects

1.0.0 • Public • Published

mixobjects

Merge/mix util for objects.

Example

var mix = require('mix')
 
var target = {a: 'a'}
var s1 = {b: 'b'}
var s2 = {c: 'c'}
 
mix(target, s1, s2) //=> target
 
assert.deepEqual(target, {a: 'a', b: 'b', c: 'c'})

Installation

via component

component install eldargab/mixobjects

via npm

npm install mixobjects

License

MIT

Keywords

none

install

npm i mixobjects

Downloadsweekly downloads

2

version

1.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar