deep-copy
v1.4.2
Published
Deep copy objects and arrays
Downloads
739,023
Readme
deep-copy
var dcopy = require('deep-copy')
// deep copy object
var copy = dcopy({a: {b: [{c: 5}]}})
// deep copy array
var copy = dcopy([1, 2, {a: {b: 5}}])
Benchmarks
Benchmarks comparing deep-copy
to other libraries across all Node LTS versions.