# html2hscript

> parse html into hyperscript

Latest version **2.0.1** (published 2016-02-11) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.1 |
| Published | 2016-02-11 |
| First published | 2015-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 173 |
| Author | https://www.npmjs.com/~unframework |
| Maintainers | jrs, twilson63 |
| Keywords | html, parser, hyperscript |

## Links

- npm: https://www.npmjs.com/package/html2hscript
- Repository: https://github.com/twilson63/html2hscript
- Issues: https://github.com/twilson63/html2hscript/issues
- npm.io page: https://npm.io/package/html2hscript

## Dependencies (4)

- [ent](https://npm.io/package/ent.md) ^2.2.0
- [is-empty](https://npm.io/package/is-empty.md) 0.0.1
- [htmlparser2](https://npm.io/package/htmlparser2.md) ^3.8.2
- [to-camel-case](https://npm.io/package/to-camel-case.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

- 2.0.1 (latest) — 2016-02-11
- 1.2.2 — 2015-12-18
- 1.2.1 — 2015-10-06
- 1.2.0 — 2015-09-18
- 1.1.0 — 2015-09-07
- 1.0.6 — 2015-07-21
- 1.0.4 — 2015-03-14
- 1.0.3 — 2015-03-14
- 1.0.2 — 2015-02-10
- 1.0.1 — 2015-02-10
- 1.0.0 — 2015-02-10

## README

# html2hscript

Parse html to hyperscript library.

[![Build Status](https://travis-ci.org/twilson63/html2hscript.svg?branch=master)](https://travis-ci.org/twilson63/html2hscript)

## Usage

``` js
var parser = require('html2hscript');
parser('<h1>Hello World</h1>', function(err, hscript) {
  console.log(hscript);
});
```

## Install

``` sh
npm install html2hscript
```

## Test

``` sh
npm test
```

## Support

Submit Issue in Github

## Contributions

Pull Requests are welcome

## License

MIT

## Thanks

[https://www.npmjs.com/~unframework](https://www.npmjs.com/~unframework) who wrote the parsing code.

[https://www.npmjs.com/~dominictarr](https://www.npmjs.com/~dominictarr) who wrote hyperscript.

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