object-id
v0.0.1
Published
## Installation
Downloads
9
Readme
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
- http://stackoverflow.com/questions/17934888/how-to-add-non-enumerable-property-in-javascript-for-ie8/17935125#17935125
Licence
MIT