mini-assign

0.1.1 • Public • Published

npm version Build Status Coverage Status Code Climate Inch CI

Dependency Status devDependency Status

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

Alexander

Links to package pages:

github.com   npmjs.com   travis-ci.org   coveralls.io   inch-ci.org

License

MIT

Package Sidebar

Install

npm i mini-assign

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • alykoshin