0.1.3 • Published 11 years ago

sak-merge v0.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
11 years ago

Util-merge

Version 0.1.3

Utility for merging two or more objects.

Created by Thomas de Zeeuw, thomasdezeeuw@gmail.com (https://thomasdezeeuw.nl/).

Released under a MIT license.

Exports

Merge

Function

Merge an object with other object(s).

Example

var obj1 = {a: 'a'}
  , obj2 = {b: 'b'};

var obj = merge(obj1, obj2);
console.log('obj', obj) // Obj {a: 'a', b: 'b'}

Params

NameDescriptionType
objObjects that need to be merged, overwrites from right to left.Object

Return

DescriptionType
A single merged object.Object
0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago