npm.io
1.0.6 • Published 11 years ago

mixin-merge

Licence
Version
1.0.6
Deps
0
Vulns
0
Weekly
0
Stars
1

mixin-merge

Creates a new mixin object c which has object a's own properties and object b's own properties

Install

$ npm install mixin-merge

Usage

mixin=require('mixin-merge')
Object.prototype.foobar=function(){}
var a = { foo: 'bar' },
    b = { bar: 'foos' };

mixin(a, b);
// => { bar: 'foos', foo: 'bar' }

Tests

$ npm install
$ npm test

Build Status

Credits

License

The MIT License

Copyright (c) 2013 Frank Mashraqi <http://mashraqi.com/>