A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
Full Changelog: https://github.com/tsndr/cloudflare-worker-jwt/compare/v2.3.2...v2.4.0
sign<Payload = {}>()
decode<Payload = {}, Header = {}>()
decode()
might produce the expected result in some instances (thanks @simcolin, for your help with debugging ❤️)package.json
.npmignore
to exclude jest.config.ts
from npm package.editorconfig
from npm package