Merge/mix util for objects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
component.json
index.js
package.json
test.js

README.md

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