deepclonevariable
v1.0.2
Published
a simple 0 dependency package which creates and returns a deep-cloned variable.
Downloads
43
Readme
JS deep clone utility
a simple 0 dependency package which creates and returns a deep-cloned variable.
Installation
$ npm install deepclonevariable
or
$ yarn add deepclonevariable
Usage
const clone = require('deepclonevariable');
const cloned = clone(value);
or in TypeScript / ES Modules
import * as clone from 'deepclonevariable';
const cloned = clone(value);