@arquivei/jwt-generator
v0.1.0
Published
JWT generator by Arquivei
Downloads
2
Readme
Table of Contents
Installation
npm i -D -E @arquivei/jwt-generator
Dependencies
This package has a required peerDependencies
listing jwt-authorization
npm i -E @arquivei/[email protected]
Usage
Add a script in your package.json
file:
// package.json
{
...,
"scripts": {
...,
"generate:jwt": "@arquivei/jwt-generator",
},
}
Or import as module:
import generateJWT from '@arquivei/jwt-generator';
const authToken = generateJWT();