Base64 adapter for JS implementations
npm i @hazae41/base64
- 100% TypeScript and ESM
- No external dependencies
- Automatic implementation
const encoded: string = Base64.encodePaddedOrThrow(new Uint8Array([1,2,3,4,5]))
const decoded: Uint8Array = Base64.decodePaddedOrThrow(encoded)