nor-data

Helpers for dealing with JavaScript data

npm install nor-data
1 downloads in the last day
21 downloads in the last week
79 downloads in the last month

Build Status

nor-data

Helpers for dealing with JavaScript data

Install

npm install nor-data

Usage

copy(value)

Declare it:

var copy = require('nor-data').copy;

And use it:

var obj = {"foo": 10};
var obj2 = copy(obj);
obj2.foo = 100;
assert( obj.foo !== obj2.foo );

Test it

npm install -d
npm run lint
npm run test
npm loves you