For encoding to/from base64urls implementing RFC 4648 base64url standard
89
Callable default export alias for encode
Default callable
100%
100%
Text output
100%
100%
Buffer input
100%
100%
Encoding option
50%
100%
Base64url encode string or Buffer
Library call
100%
100%
Buffer handling
100%
100%
Encoding option
50%
100%
URL-safe output
100%
100%
Optional encoding parameter and input validation
Encode API
100%
100%
Optional encoding
100%
100%
Decode API
100%
100%
Input validation
100%
100%
URL-safe output
100%
100%
Decode base64url to Buffer
URL decode Buffer
71%
71%
Standard normalization
0%
100%
Invalid token rejection
0%
40%
Concatenation pipeline
50%
100%
Convert base64url to padded base64
Package import
33%
100%
toBase64 conversion
0%
100%
Batch reuse
0%
100%
Error surfacing
33%
0%
Convert base64 to base64url (strip padding)
fromBase64 usage
100%
100%
Padding removed
100%
100%
URL-safe mapping
100%
100%
Batch via package
100%
100%
Idempotent handling
100%
0%
Decode base64url to text
Decode via package
100%
83%
Encoding option
0%
100%
URL alphabet handling
75%
75%
Invalid token errors
40%
40%
Install with Tessl CLI
npx tessl i tessl/npm-base64url