SkillAgentSearch skills...

Nodom

fake DOM for RE:DOM

Install / Use

/learn @redom/Nodom
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Build status js-semistandard-style

NO:DOM

fake DOM for RE:DOM

installing

npm install nodom

usage

const { Document, SVGElement } = require('nodom');
global.document = new Document();
global.SVGElement = SVGElement;
const { el, mount } = require('redom');

mount(document.body, el('h1', 'Hello world!'));

console.log(document.body.outerHTML); // <body><h1>Hello world!</h1></body>

Related Skills

View on GitHub
GitHub Stars153
CategoryDevelopment
Updated5mo ago
Forks13

Languages

JavaScript

Security Score

92/100

Audited on Oct 28, 2025

No findings