Nodom Save

fake DOM for RE:DOM

Project 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>
Open Source Agenda is not affiliated with "Nodom" Project. README Source: redom/nodom
Stars
148
Open Issues
15
Last Commit
2 years ago
Repository
License
ISC

Open Source Agenda Badge

Open Source Agenda Rating