pmcp

jsdom 30.x

Use jsdom ^30.0.0 from a plain Bun/Node script to construct and inspect DOMs and create document fragments. The documented v30 package requires Node.js ^22.22.2 || ^24.15.0 || >=26.0.0.

For
jsdom@30.0.1
Verified
2026-09-07, 2 examples executed
Package
@modootoday/pmcp-jsdom@30.0.0

What it covers

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 { JSDOM } from "jsdom";

const dom = new JSDOM("<!DOCTYPE html><p>Hello world</p>");

assert.equal(dom.window.document.querySelector("p")?.textContent, "Hello world");

What it did in the sandbox

Verifying this skill meant installing the package and running code against it with no route out. This is what happened, quoted from the run. The full ledger lists every package examined, including the ones that never became a skill.

Getting it

With a subscription:

npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-jsdom

It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.