nano-assign
v1.0.1
Published
Minimalistic Object.assign
Downloads
49,793
Readme
nano-assign
Install
yarn add nano-assign
Usage
const assign = require('nano-assign')
assign({}, { foo: 'foo' }, null, undefined, { foo: 'bar' })
//=> { foo: 'bar' }
Gotchas
See the 7 lines of code to know what we're doing here ;P
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
nano-assign © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).
egoistian.com · GitHub @egoist · Twitter @_egoistlily