fanote-deepclone
v0.0.1
Published
Just deepClone by recursive function
Downloads
3
Maintainers
Readme
Ez Object deep clone by Fanote
Installation
// via npm
npm install --save fanote-deepclone
// or yarn
yarn add fanote-deepclone
Usage
// es5
const deepClone = require('fanote-deepclone')
const newObject = deepClone(oldObject)
// es6
import deepClone from 'fanote-deepclone'
const newObject = deepClone(oldObject)