Licence
(MIT OR CC0-1.0)
Version
2.1.2
Deps
0
Size
55 kB
Vulns
0
Weekly
0
deepcopy-esm
This is a fully-ESM compatible version of the deepcopy package.
Install
npm i deepcopy-esm
Usage
This package exports the API a little bit differently than deepcopy does:
import {deepCopy} from 'deepcopy-esm';
const someObject = {};
const myCopy = deepCopy(someObject);
For all other docs, see https://www.npmjs.com/package/deepcopy directly.