ptz-copy is a javascript library for coping objects
Be welcome to learn, help and play!!!
Install with npm:
$ npm install ptz-copy --save
or clone from github:
$ git clone https://github.com/angeloocana/ptz-copy.git
$ npm install
$ typings install
*Add to your typings/index.d.ts
/// <reference path="../node_modules/ptz-copy/src/typings/index.d.ts" />
$ npm test
import copy from "ptz-copy";
let obj = {say:"Hi!"};
let newObj = copy(obj);