Skip to content

nyablo/rand-token-meteor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rand-token for MeteorJS

Generate random tokens from your choice of randomness. https://www.npmjs.com/package/rand-token

Instalation

meteor add nyablonskiy:rand-token

Usage

// Generate a 16 character alpha-numeric token:
var token = RandToken.generate(16);

// Use it as a replacement for uid:
var token = RandToken.uid(16);

// Generate mostly sequential tokens:
var token = RandToken.suid(16);

About

rand-token-meteor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published