0.0.0 • Published 4 years ago
validate-memberstack-token v0.0.0
validate-memberstack-token
Usage
const validateToken = require(`validate-memberstack-token`)
...
try{
const contents = await validateToken(token)
console.log(`Token valid:`, contents)
}
catch(err){
console.log(`Token not valid`)
console.error(err)
}
0.0.0
4 years ago