rtg
v1.0.3
Published
random generate token use promise
Downloads
5
Readme
Random token generator
Use bluebirdjs promise and random-token-generator js library to generate random token in promise style.
$ npm install --save rtg
const rtg = require('rtg');
rtg.generateToken()
.then((token)=>{
// do something with token
})
.catch((error)=>{
// oops error
});