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

    1.0.0 • Public • Published

    JSON Clone Deep

    Deep cloning based on JSON.

    It can only deep-clone JSON-serializable values.

    Install

    npm install --save json-clone-deep

    Usage

    import cloneDeep from 'json-clone-deep';
     
    cloneDeep ({ foo: 123, bar: [1, 2, '3'] }); // => { foo: 123, bar: [1, 2, '3'] }

    License

    MIT © Fabio Spampinato

    Install

    npm i json-clone-deep

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.06 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar