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

tower-oid

Object ID

Installation

node.js:

npm install tower-oid

browser:

component install tower/oid

Example

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

Notes

Licence

MIT