1.0.0 • Published 5 years ago
actual-urlsafe-base64 v1.0.0
Actual URL-Safe Base64
Designed for usability. No padding.
Alphabets as described in RFC 4648.
API
const Base64 = require('actual-urlsafe-base64');
Base64.encode(input: String | input: Buffer): String
Base64.decode(input: String): String
Why?
All packages I found on npm encode into url-safe base64 using Buffer.toString and then replacing +/ with -_. That's ugly.
1.0.0
5 years ago