Type definitions are available in the @types/btoa package


  • Version 1.2.1
  • Published
  • 32 kB
  • No dependencies
  • (MIT OR Apache-2.0) license


npm i btoa
yarn add btoa
pnpm add btoa


btoa for Node.JS (it's a one-liner)

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/btoa.

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