UNPKG

ysd-jwt

Version:

A lightweight and beginner-friendly JWT authentication middleware for Express.js with token creation, verification, and user extraction from headers or cookies.

5 lines (4 loc) 233 B
export { sign } from './sign'; export { verify } from './verify'; export * from './types'; export { TokenError, MissingKeyError, TokenExpiredError, InvalidSignatureError, ClaimValidationError, MalformedTokenError, } from './errors';