Skip to content

softwareengineer99/object-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

object-merge

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

Install

$ npm install object-merge

Usage

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

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

Tests

$ npm install
$ npm test

Build Status

Credits

License

The MIT License

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published