@arquivei/jwt-generator
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Arquivei - JWT Generator

JTW mock generator for all of Arquivei BFF projects.


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/jwt-authorization@1.1.3

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();

Package Sidebar

Install

npm i @arquivei/jwt-generator

Weekly Downloads

1

Version

0.1.0

License

UNLICENSED

Unpacked Size

11.4 kB

Total Files

23

Last publish

Collaborators

  • arquivei