Package Exports
- simple-deep-clone
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-deep-clone) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
deep-clone
Simple deep clone JavaScript native types, like Object, Array, and primitives.
Install
Install with npm:
$ npm install --save simple-deep-cloneUsage
const { deepClone } = require('simple-deep-clone');
const profile = { name: 'SaLamTam' };
const newProfile = deepClone(profile);
newProfile.project = 'deep-clone';
console.log('Old Profile:', profile);
console.log('New Profile:', newProfile);