@ideascol/jwt-inspector
v0.0.3
Published
A comprehensive library for verifying JWTs (JSON Web Tokens) ensuring compliance with OWASP security recommendations. This library validates the structure, signature, and claims of JWTs, checks for secure algorithms, enforces size constraints, and ensures
Downloads
4
Readme
@ideascol/jwt-inspector
This lib verify JWT
Quick start
npx @ideascol/jwt-inspector
Installation
npm install -g @ideascol/jwt-inspector
Usage as cli
jwt-inspector validate-structure --token=<token>
Usage as library
import { ValidateJwt } from '@ideascol/jwt-inspector';
ValidateJwt('token'); // should validate structure