test-jman-web-tokens
v1.0.0
Published
JWT custom for NextJS applications, made by Jeremy Cox
Downloads
13
Readme
jman-web-tokens
Wrapper for implementing the jsonwebtoken package with serverside NextJS
Prerequisites
Node version
This package requires a minimum NodeJS version of 12 (jsonwebtoken security requirement)
NextJS
This package was developed on NextJS version 14, and has had no testing with the Pages router.
jman-web-tokens currently only works with NextJS Server functions. Support for edge-functions is planned.
Installation
npm install jman-web-tokens
Env-Vars (Required)
.env.local example
JWT_SECRET = {}
This is a friendly reminder to not publish your .env files to git / other public repositories!