import { Base64x } from 'base64x';
const base64x = new Base64x('abcdefghijklmnopqrstuvwxyz+/0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ');
const encoded = base64x.encode("arbitrary string");
console.log(encoded); // "yxj6+xrMyxjTihnO0A9IzK=="
console.log(base64x.decode(encoded)); // "arbitrary string"
-
Notifications
You must be signed in to change notification settings - Fork 0
Base64 encoder/decoder with customizable lookup tables
License
elad-yosifon/base64x-js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Base64 encoder/decoder with customizable lookup tables
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published