base64url-encode
v1.0.1
Published
Proper zero-dependency base64 url-safe encoding function that doesn't depend on Node.js Buffer.
Downloads
8
Readme
Base64Url encode
Zero dependency base64-urlsafe encoder that doesn't need node's Buffer and has full support for unicode characters.
Installation:
npm install base64url-encode
# OR
yarn add base64url-encode
# OR
pnpm install base64url-encode
Use:
let b64urlEncode=require("base64url-encode")
console.log(b64urlEncode("test")) //logs "dGVzdA"