jwt-lite
Install
npm install jwt-lite
Usage
const jwt = const decoded = jwt;const header // jose header claimsSet // claimsSet as a JSON object signedContent // UintArray of the signed content signature // UintArray of the signature} = decoded; jwt jwt
Can it be smaller?
If you use ES6 imports with a bundler that supports tree-shaking, yes!
License
MIT