This is a private JWT library for MoleculeEngineering and the package details and how we can extend and configure it will be explained below.
It is an json web token generation library, which generates token from input.
lib-jwt
is available on npm. To install it, type:
$ npm install --save-dev @moleculeengineering/lib-jwt
Import the library in your code, and then pick signJWT
to generate token:
const { signJWT, verify } = require("@moleculeengineering/lib-jwt");
api-company (https://github.com/MoleculeEngineering/api-company)
Geetha Selvaraj