Nitrogenous Polymorphic Molecule

    deep-copy
    TypeScript icon, indicating that this package has built-in type declarations

    1.4.2 • Public • Published

    deep-copy

    npm-version travis-ci coveralls-status

    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.

    Install

    npm i deep-copy

    DownloadsWeekly Downloads

    148,042

    Version

    1.4.2

    License

    MIT

    Last publish

    Collaborators

    • simov