extend2
Port of jQuery.extend for node.js and the browser
Last updated 3 years ago by popomore .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install extend2 
SYNC missed versions from official npm registry.

extend2

Forked from node-extend, the difference is overriding array as primitive when deep clone.

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Usage

const extend = require('extend2');

// for deep clone
extend(true, {}, object1, objectN);

License

node-extend is licensed under the MIT License.

Acknowledgements

All credit to the jQuery authors for perfecting this amazing utility.

Ported to Node.js by Stefan Thomas with contributions by Jonathan Buchanan and Jordan Harband.

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

2 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |