Skip to content

A versatile npm package providing a powerful deep cloning function for JavaScript objects.

License

Notifications You must be signed in to change notification settings

fasilofficial/deeperjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A versatile npm package providing a powerful deep cloning function for JavaScript objects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published