# @simple-dom/document

> A subset of the DOM API for serializing

Latest version **1.4.0** (published 2018-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @simple-dom/document
pnpm add @simple-dom/document
yarn add @simple-dom/document
bun add @simple-dom/document
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2018-11-28 |
| First published | 2018-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 153.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 207 |
| Author | Kris Selden |
| Maintainers | chadhietala, krisselden, rwjblue, tomdale, wycats |
| Keywords | SSR, dom, html, serialization |

## Links

- npm: https://www.npmjs.com/package/@simple-dom/document
- Repository: https://github.com/ember-fastboot/simple-dom/tree/master/packages/@simple-dom/document
- npm.io page: https://npm.io/package/@simple-dom/document

## Dependencies (1)

- [@simple-dom/interface](https://npm.io/package/@simple-dom/interface.md) ^1.4.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.4.0 (latest) — 2018-11-28
- 1.4.0-alpha.f90dc13 (canary) — 2018-11-28
- 1.4.0-alpha.7bfd8021 — 2018-02-27
- 1.4.0-alpha.82914663 — 2018-02-13

## README

# About [![Build Status](https://travis-ci.org/ember-fastboot/simple-dom.svg)](https://travis-ci.org/ember-fastboot/simple-dom)

[![Greenkeeper badge](https://badges.greenkeeper.io/ember-fastboot/simple-dom.svg)](https://greenkeeper.io/)

Importantly, simple-dom implements a very, very small subset of the WHATWG DOM specification, optimized for performance, and for the requirements of the Ember view layer. For example, it does not implement any part of the DOM that would require the use of accessors; it's just an attempt to faithfully represent the DOM as a data structure, not its complete API surface. (If you need the whole enchilada, check out something like [jsdom](https://github.com/tmpvar/jsdom), which is much more complete.)

```sh
npm install simple-dom
```

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