extend5() for Node.js
Merge the contents of two or more objects together into the first object.
Installation
This package is available on [npm][npm-url] as: extend5
npm install extend5
Usage
Syntax: extend5 (** source
, object1
, [objectN
] **)
The function will return the source, extended with other objects.
Example:
var extend5 = require('extend5');
extend5(source, object1, object2);
Remember that the source object will be modified.