Skip to content
JS
Package

valid-data-url

Detect if a string is a data URL

v5.0.0, 8 Aug 2023MITCommonJSTypes: NoneURLs and query stringsSchema validation
$ npm install valid-data-url

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.2m (18 Aug 2026)Low 705k (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.

2,118,297 downloads last week, 10,416,669 in the last month. The 12-month change of +97% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
5.0.0, 8 Aug 20233 years ago
First published
9 May 2016
Last push to GitHub
19 Oct 20231,072 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
26

Major versions

  1. v5 first release 5.0.0, 8 Aug 2023
  2. v4 first release 4.0.0, 2 May 2021
  3. v3 first release 3.0.0, 4 Jul 2020
  4. v2 first release 2.0.0, 22 May 2019
  5. v1 first release 1.0.0, 12 Sept 2018
  6. v0 first release 0.1.0, 9 May 2016

Recent releases

VersionPublished
5.0.08 Aug 2023
4.0.130 Jul 2022
4.0.02 May 2021
3.0.13 Sept 2020
3.0.04 Jul 2020
2.0.022 May 2019
1.0.012 Sept 2018
0.1.69 Mar 2018
0.1.514 Feb 2018
0.1.415 Aug 2017
0.1.321 Oct 2016
0.1.220 Oct 2016
0.1.19 May 2016
0.1.09 May 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=14
Runtimes
-
Unpacked size (npm)
7.0 kB
Dependencies (0)
None
npm install valid-data-url
  • jsDelivrhttps://cdn.jsdelivr.net/npm/valid-data-url@5.0.0/
  • unpkghttps://unpkg.com/valid-data-url@5.0.0/
  • esm.shhttps://esm.sh/valid-data-url@5.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
data-uri-utils86.5k-1 month agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.