# domthingy

> dom thing for learning purposes

Latest version **1.0.0** (published 2017-04-05) · MIT license · 0 weekly downloads

## Install

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

## 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.0.0 |
| Published | 2017-04-05 |
| First published | 2017-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | manzoid |
| Maintainers | manzoid |

## Links

- npm: https://www.npmjs.com/package/domthingy
- Repository: https://github.com/tim-hr/domthingy
- Homepage: https://github.com/tim-hr/domthingy#readme
- Issues: https://github.com/tim-hr/domthingy/issues
- npm.io page: https://npm.io/package/domthingy

## Dependencies (1)

- [jsdom](https://npm.io/package/jsdom.md) ^9.12.0

## Recent versions

- 1.0.0 (latest) — 2017-04-05

## README

This is a super-simple DOM API for learning purposes.

There is just one function: `getDOMTreeFromHTML()`.

Pass in your HTML to parse, and a callback to handle the results, as so:

```javascript
const html = '<p><a class="the-link" href="https://google.com">goog</a></p>';
domthingy.getDOMTreeFromHTML(html, (err, root) => {
    // "root" will now be an HTMLHTMLElement, 
    // which you can use to traverse the rest of the tree.
});
```

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