JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist Add SVGElement Sep 29, 2017
lib Add SVGElement Sep 29, 2017
test Add SVGElement Sep 29, 2017
.gitignore initial commit Sep 29, 2016
README.md Update README.md May 22, 2017
package.json 2.0.1 Apr 25, 2017
rollup.config.js standard --> semistandard Nov 16, 2016
watch.js standard --> semistandard Nov 16, 2016

README.md

js-semistandard-style

NO:DOM

fake DOM for RE:DOM

installing

npm install nodom

usage

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

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

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