cotter-node
v0.1.3
Published
Cotter Node JS Helper for verifying JWT tokens
Downloads
8
Readme
cotter-node-js
A helper function to verify JWT Tokens generated by Cotter in Node.js. Check out our documentation for generating JWT Tokens using Cotter.
Usage
import { CotterValidateJWT } from "cotter-node";
try {
var valid = await CotterValidateJWT(token);
} catch (e) {
console.log(e);
}