Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including nor-data with all npm packages installed. Try it out:

var norData = require("nor-data")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nor-data v1.0.0

Helpers for dealing with JavaScript data

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

Commercial Support

You can buy commercial support from Sendanor.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free