Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

extend5

cmf58Apache-2.00.0.1

Extend Objects Module

readme

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.