Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fast-base64-encode

LinusU22.7kMIT1.0.0TypeScript support: included

A fast Base64 encoder with a low level API. If you want a high level API, look at base64-js.

base64-encode, base64, encode

readme

Fast Base64 Encoding

A fast Base64 encoder with a low level API. If you want a high level API, look at base64-js.

Installation

npm install --save fast-base64-encode

Usage

const base64Encode = require('fast-base64-encode')

const data = new Uint8Array(256)

console.log(base64Encode(data))
//=> 'AAAAAAAAAAAAAAAAAAAA'