1.0.1 • Published 7 years ago

ptz-copy v1.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

ptz-copy

================ Build Status NPM codecov.io Dependency Status bitHound Score License

ptz-copy is a javascript library for coping objects

Be welcome to learn, help and play!!!

Install

Install with npm:

    $ npm install ptz-copy --save

or clone from github:

    $ git clone https://github.com/angeloocana/ptz-copy.git

Setup

    $ npm install 
    $ typings install

*Add to your typings/index.d.ts

/// <reference path="../node_modules/ptz-copy/src/typings/index.d.ts" />

Test

    $ npm test

Usage

import copy from "ptz-copy";

let obj = {say:"Hi!"};

let newObj = copy(obj);
1.0.1

7 years ago

1.0.0

7 years ago