mini-assign
v0.1.1
Published
Yet another Object.assign() and completeAssign based on Mozilla article
Downloads
8
Maintainers
Keywords
Readme
mini-assign
Yet another Object.assign() based on Mozilla article
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
Module exports:
assign(target, ...sources)
- target - target object, followed by list of source objects
- returns target
assign = require('mini-assign');
res = assign(target, source1 /* , source2 ... */);
If you have different needs regarding the functionality, please add a feature request.
Installation
npm install --save mini-assign
Usage
Credits
Links to package pages:
github.com npmjs.com travis-ci.org coveralls.io inch-ci.org
License
MIT