# can-simple-dom

> A simple JS DOM.

Latest version **1.7.1** (published 2020-01-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install can-simple-dom
pnpm add can-simple-dom
yarn add can-simple-dom
bun add can-simple-dom
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.7.1 |
| Published | 2020-01-14 |
| First published | 2015-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 63.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Kris Selden and Bitovi |
| Maintainers | andrejewski, blackmarket, chasen, cherif_b, christopherjbaker, justinbmeyer, marshallswain, matthewp, phillipskevin, sinjhin, stin13 |
| Keywords | html, dom, serializer, parser |

## Links

- npm: https://www.npmjs.com/package/can-simple-dom
- Repository: https://github.com/canjs/can-simple-dom
- Homepage: https://github.com/canjs/can-simple-dom#readme
- Issues: https://github.com/canjs/can-simple-dom/issues
- npm.io page: https://npm.io/package/can-simple-dom

## Dependencies (4)

- [he](https://npm.io/package/he.md) ^1.1.0
- [micro-location](https://npm.io/package/micro-location.md) ^0.1.4
- [can-child-nodes](https://npm.io/package/can-child-nodes.md) ^1.2.0
- [simple-html-tokenizer](https://npm.io/package/simple-html-tokenizer.md) ^0.2.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.7.1 (latest) — 2020-01-14
- 1.7.0 — 2019-08-06
- 1.6.2 — 2019-05-26
- 1.6.1 — 2018-12-27
- 1.6.0 — 2018-12-11
- 1.5.0 — 2018-12-11
- 1.4.2 — 2018-08-31
- 1.4.1 — 2018-08-31
- 1.4.0 — 2018-08-31
- 1.3.5 — 2018-04-13
- 1.3.4 — 2017-12-28
- 1.3.3 — 2017-12-27
- 1.3.2 — 2017-11-03
- 1.3.1 — 2017-11-02
- 1.3.0 — 2017-10-04
- … 49 more at https://npm.io/package/can-simple-dom/versions

## README

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

Importantly, simple-dom implements a very, very small subset of the WHATWG DOM specification, optimized for performance, and for the requirements of the CanJS 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/can-simple-dom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
