This package parses `data:` URLs and returns either a parsed `{ mimeType, body }` object or `null` if the input cannot be parsed. It follows the WHATWG Fetch Standard, producing MIME type information (from `whatwg-mimetype`) and the decoded content as a `Uint8Array`, useful for turning `data:` URL strings into usable bytes and MIME details in JavaScript.
Project status
- The repository appears actively maintained, with a recent upstream push (2026-03-21) and multiple version updates in 2025-09 through 2026-02.
- The apparent update cadence is fairly steady, with updates roughly every few months (6.0.0 in 2025-09, 6.0.1 in 2026-01, 7.0.0 in 2026-02).
AI summary generated Today
Recent updates
v7.0.0
4 months agoRelease 7.0.0 updates the project to require newer Node.js versions and refreshes related tooling and dependency versions. The release notes only call out the Node.js minimum support change, but the code diff also includes a major dependency bump.
Breakingv6.0.1
4 months agov6.0.1 updates the package dependencies and includes related internal adjustments. The release notes are limited to a generic statement that dependency updates should not impact users, while the diff shows additional documentation and tooling changes.
v6.0.0
8 months agoRelease 6.0.0 raises the minimum supported Node.js version to v20 and updates the project configuration and tooling to match newer Node-based workflows. The dependency graph also changes notably, including a major bump of whatwg-url.
Breakingv5.0.0
11/11/2023Release 5.0.0 raises the Node.js minimum version to 18. The diff also shows a larger internal and dependency/tooling modernization, including changes to base64 decoding and major dependency bumps, none of which are covered by the sparse release notes.
Breakingv4.0.0
1/3/2023Release v4.0.0 updates the project to require Node.js >= 14, aligning runtime support with the stated minimum version in the release notes. The code diff also shows several tooling and dependency updates (including transitive behavior risk via whatwg-url), but the release notes only mention the Node.js support change.
Breakingv3.0.2
4/25/2022v3.0.2 updates the package dependencies and lockfile. No application or library source code changes are visible in the diff, but several dependency versions were bumped and a test script reference was updated.
v3.0.1
10/6/2021Release 3.0.1 is presented as a dependency-only update. The diff shows multiple dependency version bumps and a tooling change (switching the fetch implementation used by a test/update script), but no direct source-code logic changes to the package itself are shown in the provided diff.
Breakingv3.0.0
7/19/2021Release 3.0.0 raises the minimum supported Node.js version to 12. It also changes the parsed `data:` URL `body` from a Node.js `Buffer` to a `Uint8Array`.
Breakingv2.0.0
1/2/2020Release v2.0.0 updates the project to require Node.js 10+ and modernizes the build/test setup. The diff also shows dependency version bumps (not mentioned in the release notes) and documentation/import path changes.
Breakingv1.1.0
10/26/2018v1.1.0 updates the minimum required version of the whatwg-mimetype dependency to v2.2.0, which can change data URL parsing and serialization behavior in cases involving empty MIME parameter values. Aside from that, the diff mainly contains tooling and test infrastructure updates (jest/eslint config and test platform fixture commit selection), not direct runtime code changes.
Breaking