0.1.1 • Published 8 years ago

mini-assign v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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