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