npm

clone-it

1.0.2 • Public • Published

clone-it

Deep clone JavaScript Arrays, Objects, Functions, Instances, Dates, Regular Expressions and Primitives. Takes care of circular dependency.

Usage

Install it from npm: $ npm install clone-it and then use var cloneit = require('clone-it').

var cloned = cloneit(data);

Package Sidebar

Install

npm i clone-it

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • cchandurkar