# nodom

> fake DOM for RE:DOM

Latest version **2.4.0** (published 2019-09-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install nodom
pnpm add nodom
yarn add nodom
bun add nodom
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.4.0 |
| Published | 2019-09-30 |
| First published | 2016-09-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 79.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 152 |
| Author | Juha Lindstedt |
| Maintainers | pakastin |

## Links

- npm: https://www.npmjs.com/package/nodom
- Repository: https://github.com/pakastin/nodom
- Homepage: https://github.com/pakastin/nodom#readme
- Issues: https://github.com/pakastin/nodom/issues
- npm.io page: https://npm.io/package/nodom

## Recent versions

- 2.4.0 (latest) — 2019-09-30
- 2.3.0 — 2019-09-27
- 2.2.1 — 2019-09-04
- 2.2.0 — 2019-03-19
- 2.1.0 — 2017-09-29
- 2.0.1 — 2017-04-25
- 2.0.0 — 2017-03-23
- 1.1.0 — 2016-11-16
- 1.0.2 — 2016-11-02
- 1.0.1 — 2016-11-02
- 1.0.0 — 2016-09-29

## README

[![Build status](https://img.shields.io/travis/redom/nodom/master?style=flat-square)](https://travis-ci.org/redom/nodom?branch=master)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet/semistandard)
# NO:DOM
fake DOM for [RE:DOM](https://redom.js.org)

## installing
```
npm install nodom
```

## usage
```js
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>
```

---
_Source: https://npm.io/package/nodom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
