update-deep-copy

0.4.1 • Public • Published

update-deep-copy

Install

» npm install update-deep-copy

Usage

const update = require("update-deep-copy");
 
const object = { a: 1, b: { c: "c", d: [0, 1, 2, 3] } };
const copy = update(object, { b: { c: "d" } });
// => { a: 1, b: { c: "d", d: [0, 1, 2, 3] } }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.1
    1
    • latest

Version History

Package Sidebar

Install

npm i update-deep-copy

Weekly Downloads

2

Version

0.4.1

License

MIT

Unpacked Size

6.52 kB

Total Files

7

Last publish

Collaborators

  • 70_10