crapthings / meteor-hashids

7 stars 7 forks source link

hashids repackaged for Meteor.js

this package provide a method to gen hashid use Meteor.uuid() and Date.now as encrypt

How to use?

Meteor Method

Meteor.uuid() to generate a long id # 1a81a6c8-a9d6-46fb-b5d0-c8232438048a

Extend Meteor Method

Meteor.hashid() to generate a short id # jGGaqGLe7K

More Usage

https://github.com/ivanakimov/hashids.js