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