deeperjs

1.0.1 • Public • Published

deeperjs

npm version License

deeperjs is a versatile npm package providing a powerful deep cloning function for JavaScript objects. It supports the cloning of nested objects, arrays, and handles special cases like Date and RegExp objects. The function is designed to create deep copies of complex data structures, preventing unintended reference sharing. With support for circular references, it ensures a robust and reliable deep cloning solution for a wide range of use cases.

Installation

To install deeperjs in your project, run the following command:

npm install deeperjs

Usage

To use deeperjs in your project, add the following code:

const deeper = require('deeperjs');

const originalObject = {}
const newObject = deeper.deepClone(originalObject)

/deeperjs/

    Package Sidebar

    Install

    npm i deeperjs

    Weekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    3.53 kB

    Total Files

    4

    Last publish

    Collaborators

    • fasil_official