0.0.2 • Published 9 years ago
clone-promise v0.0.2
clone-promise
clone-promise
is a Node.js module for object clone with Promise API.
https://www.npmjs.com/package/clone-promise
Installation
$ npm install clone-promise
API
Methods
clone(object)
const Clone = require('clone-promise');
const obj = {key : 'value'};
Clone.clone().then(copiedObj => {
console.log(copiedObj);
})