Skip to content
JS
Package

base64-img

Convert img or svg to base64, or convert base64 to img

v1.0.4, 13 Feb 2018ISCCommonJSTypes: NoneCryptography and hashing
$ npm install base64-img

Key numbers

As of 25 Sept 2026
Weekly downloads
24.1k
-8% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
8 years ago
v1.0.4
GitHub stars
164
31 forks
Open issues / PRs
14 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 28.3k (2 Dec 2025)Low 12.3k (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.

24,116 downloads last week, 73,352 in the last month. The 12-month change of -8% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.4, 13 Feb 20188 years ago
First published
-
Last push to GitHub
11 Dec 20182,844 days before the snapshot
Repository archived
No
Open issues
14
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
181

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (2)
file-systemajax-request
npm install base64-img
  • jsDelivrhttps://cdn.jsdelivr.net/npm/base64-img@1.0.4/
  • unpkghttps://unpkg.com/base64-img@1.0.4/
  • esm.shhttps://esm.sh/base64-img@1.0.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.