node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

object-id

Object ID

Installation

node.js:

npm install object-id

browser:

component install viatropos/object-id

Example

var id = require('object-id');
var obj = { foo: 'bar' };
id(obj);
console.log(obj.__id__);

Notes

Licence

MIT