Skip to content
JS
Package

btoa

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

v1.2.1, 28 Mar 2018(MIT OR Apache-2.0)CommonJSTypes: None
$ npm install btoa

Key numbers

As of 25 Sept 2026
Weekly downloads
4.7m
+9% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v1.2.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 9.7m (3 Mar 2026)Low 2.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,705,992 downloads last week, 23,372,079 in the last month. The 12-month change of +9% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.2.1, 28 Mar 20188 years ago
First published
9 Sept 2011
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
1,580

Major versions

  1. v1 first release 1.0.0, 9 Sept 2011

Recent releases

VersionPublished
1.2.128 Mar 2018
1.1.220 May 2014
1.1.125 Jul 2013
1.1.019 Sept 2012
1.0.126 Jun 2012
1.0.09 Sept 2011
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4.0
Runtimes
-
Unpacked size (npm)
31 kB
Dependencies (0)
None
npm install btoa
  • jsDelivrhttps://cdn.jsdelivr.net/npm/btoa@1.2.1/
  • unpkghttps://unpkg.com/btoa@1.2.1/
  • esm.shhttps://esm.sh/btoa@1.2.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.