Package
valid-data-url
Detect if a string is a 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
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
- v5 first release 5.0.0, 8 Aug 2023
- v4 first release 4.0.0, 2 May 2021
- v3 first release 3.0.0, 4 Jul 2020
- v2 first release 2.0.0, 22 May 2019
- v1 first release 1.0.0, 12 Sept 2018
- v0 first release 0.1.0, 9 May 2016
Recent releases
| Version | Published |
|---|---|
| 5.0.0 | 8 Aug 2023 |
| 4.0.1 | 30 Jul 2022 |
| 4.0.0 | 2 May 2021 |
| 3.0.1 | 3 Sept 2020 |
| 3.0.0 | 4 Jul 2020 |
| 2.0.0 | 22 May 2019 |
| 1.0.0 | 12 Sept 2018 |
| 0.1.6 | 9 Mar 2018 |
| 0.1.5 | 14 Feb 2018 |
| 0.1.4 | 15 Aug 2017 |
| 0.1.3 | 21 Oct 2016 |
| 0.1.2 | 20 Oct 2016 |
| 0.1.1 | 9 May 2016 |
| 0.1.0 | 9 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- jsDelivr
https://cdn.jsdelivr.net/npm/valid-data-url@5.0.0/ - unpkg
https://unpkg.com/valid-data-url@5.0.0/ - esm.sh
https://esm.sh/valid-data-url@5.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| data-uri-utils | 86.5k | - | 1 month ago | CommonJS | - |
Indexability: Indexed.