Skip to content

gingkoapp/object-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

object-id

Generates unique MongoDB's ObjectId. Read more about ObjectID.

Installation

Install with component(1):

$ component install gingkoapp/object-id

Example

var objectId = require('object-id');

objectId(); //=> 36dd44706dc2783478000001
objectId(); //=> 36dd44706dc2783478000002
objectId(); //=> 36dd44706dc2783478000003

License

MIT, Gingko App

About

Generates unique MongoDB's ObjectId

Resources

Stars

Watchers

Forks

Packages

No packages published