• Version 3.209.0
  • Published
  • 15.4 kB
  • 2 dependencies
  • Apache-2.0 license


npm i @aws-sdk/util-base64-node
yarn add @aws-sdk/util-base64-node
pnpm add @aws-sdk/util-base64-node


A Node.JS Base64 <-> UInt8Array converter



function fromBase64

fromBase64: (input: string) => Uint8Array;
  • Converts a base-64 encoded string to a Uint8Array of bytes using Node.JS's buffer module.

    Parameter input

    The base-64 encoded string

function toBase64

toBase64: (input: Uint8Array) => string;
  • Converts a Uint8Array of binary data to a base-64 encoded string using Node.JS's buffer module.

    Parameter input

    The binary data to encode

Package Files (1)

Dependencies (2)

Dev Dependencies (7)

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/@aws-sdk/util-base64-node.

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