@endo/base64
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

base64

Base64 is a JavaScript package that encodes and decodes Base64 between strings and Uint8Arrays.

Base64 exports TypeScript definitions and is suitable for both web and Node.js.

Install

npm install @endo/base64

Usage

import { encodeBase64, decodeBase64 } from '@endo/base64';

const string = encodeBase64(bytes);
const bytes = decodeBase64(string);

Readme

Keywords

Package Sidebar

Install

npm i @endo/base64

Weekly Downloads

3,935

Version

1.0.4

License

Apache-2.0

Unpacked Size

25.6 kB

Total Files

25

Last publish

Collaborators

  • mhofman
  • kriskowal
  • michaelfig
  • erights
  • warner