data-urls 7.x
Parse WHATWG data: URLs with data-urls@^7.0.0, including MIME types, byte bodies, invalid input, base64 payloads, and URL-record parsing.
- For
data-urls@7.0.0- Verified
- 2026-09-08, 6 examples executed
- Package
@modootoday/pmcp-data-urls@7.0.0
What it covers
- Surface
- Important version differences
- Parse ordinary text data URLs
- Parse base64 data URLs
- Handle invalid input
- Parse from a URL record
- Decode bytes as text
- What this skill does not cover
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from "node:assert/strict";
import parseDataURL from "data-urls";
const result = parseDataURL("data:,Hello%2C%20World!");
assert.notEqual(result, null);
assert.equal(result.mimeType.toString(), "text/plain;charset=US-ASCII");
assert.deepEqual([...result.body], [...new TextEncoder().encode("Hello, World!")]);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-data-urls
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.