Licence
MIT
Version
2.0.2
Deps
0
Size
38 kB
Vulns
0
Weekly
0
Base64
Base64 adapter for JS implementations
npm i @hazae41/base64
Features
Current features
- 100% TypeScript and ESM
- No external dependencies
- Automatic implementation
Usage
const encoded: string = Base64.encodePaddedOrThrow(new Uint8Array([1,2,3,4,5]))
const decoded: Uint8Array = Base64.decodePaddedOrThrow(encoded)