Skip to content
JS
Package

base64-js

Base64 encoding/decoding in pure JS

v1.5.1, 11 Nov 2020MITCommonJSTypes: BundledCryptography and hashing
$ npm install base64-js

Key numbers

As of 25 Sept 2026
Weekly downloads
107.9m
+102% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v1.5.1
GitHub stars
881
392 forks
Open issues / PRs
4 / 1
Contributors
16
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 143.1m (25 Aug 2026)Low 35.6m (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.

107,927,554 downloads last week, 480,672,614 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
023 in total
Latest version
1.5.1, 11 Nov 20205 years ago
First published
26 Nov 2011
Last push to GitHub
25 Jul 2024791 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
3,345

Major versions

  1. v1 first release 1.0.1, 5 Jan 2016
  2. v0 first release 0.0.1, 26 Nov 2011

Recent releases

VersionPublished
1.5.111 Nov 2020
1.5.011 Nov 2020
1.3.16 Aug 2019
1.3.017 Apr 2018
1.2.316 Feb 2018
1.2.216 Feb 2018
1.2.122 Jun 2017
1.2.022 Sept 2016
1.1.224 Mar 2016
1.1.12 Mar 2016
1.1.029 Feb 2016
1.0.413 Feb 2016
1.0.312 Feb 2016
1.0.29 Jan 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.4 kB
Dependencies (0)
None
npm install base64-js

CDN

jsDelivr: 196.4k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/base64-js@1.5.1/
  • unpkghttps://unpkg.com/base64-js@1.5.1/
  • esm.shhttps://esm.sh/base64-js@1.5.1
PackageWeekly downloadsGzipLast releaseModuleComparison
js-base6414.5m-5 days agoESM + CommonJS-
base64url5m-7 years agoCommonJS-
libbase644.8m-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.