Skip to content

alykoshin/mini-complete-assign

Repository files navigation

npm version Build Status Coverage Status Code Climate Inch CI

Dependency Status devDependency Status

mini-complete-assign

Yet another completeAssign() based on Mozilla article

https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill

Module exports:

completeAssign(target /..sources/)

  • target - target object, followed by list of source objects
  • returns target
completeAssign = require('mini-complete-assign');

res = completeAssign(target, source1 /* , source2 ... */);

If you have different needs regarding the functionality, please add a feature request.

Installation

npm install --save mini-complete-assign

Usage

Credits

Alexander

Links to package pages:

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

License

MIT

About

Yet another completeAssign() based on Mozilla article

Resources

License

Stars

Watchers

Forks

Packages

No packages published