• Version 1.3.2
  • Published
  • 3.67 kB
  • No dependencies
  • MIT license


npm i @types/base64-js
yarn add @types/base64-js
pnpm add @types/base64-js


TypeScript definitions for base64-js



function byteLength

byteLength: (encoded: string) => number;
  • Takes a base64 string and returns length of byte array

function fromByteArray

fromByteArray: (bytes: Uint8Array) => string;
  • Takes a byte array and returns a base64 string

function toByteArray

toByteArray: (encoded: string) => Uint8Array;
  • Takes a base64 string and returns a byte array

Package Files (1)

Dependencies (0)

No dependencies.

Dev Dependencies (0)

No dev dependencies.

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/base64-js.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/@types/base64-js"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>