# @starptech/prettyhtml-hastscript

> Hyperscript compatible DSL for creating virtual HAST trees

Latest version **0.10.0** (published 2019-06-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @starptech/prettyhtml-hastscript
pnpm add @starptech/prettyhtml-hastscript
yarn add @starptech/prettyhtml-hastscript
bun add @starptech/prettyhtml-hastscript
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.10.0 |
| Published | 2019-06-21 |
| First published | 2018-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 286 |
| Author | Dustin Deus |
| Maintainers | starptech |
| Keywords | hast, prettyhtml, vdom, virtual, dom, hyperscript, dsl, html |

## Links

- npm: https://www.npmjs.com/package/@starptech/prettyhtml-hastscript
- Repository: https://github.com/StarpTech/prettyhtml
- Homepage: https://github.com/StarpTech/prettyhtml#readme
- Issues: https://github.com/StarpTech/prettyhtml/issues
- npm.io page: https://npm.io/package/@starptech/prettyhtml-hastscript

## Dependencies (4)

- [property-information](https://npm.io/package/property-information.md) ^5.1.0
- [comma-separated-tokens](https://npm.io/package/comma-separated-tokens.md) ^1.0.7
- [space-separated-tokens](https://npm.io/package/space-separated-tokens.md) ^1.1.4
- [hast-util-parse-selector](https://npm.io/package/hast-util-parse-selector.md) ^2.2.2

## 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

- 0.10.0 (latest) — 2019-06-21
- 0.9.0 — 2019-04-28
- 0.8.17 — 2019-04-07
- 0.8.10 — 2018-12-09
- 0.8.7 — 2018-12-06
- 0.8.1 — 2018-11-12
- 0.8.0 — 2018-11-11
- 0.7.0 — 2018-11-10
- 0.6.0 — 2018-11-08
- 0.5.3 — 2018-11-08
- 0.5.2 — 2018-11-06
- 0.5.0 — 2018-10-28
- 0.4.2 — 2018-10-27
- 0.4.1 — 2018-10-26
- 0.4.0 — 2018-10-26
- … 51 more at https://npm.io/package/@starptech/prettyhtml-hastscript/versions

## README

# @starptech/prettyhtml-hastscript

Hyperscript compatible DSL for creating virtual HAST trees

## Installation

```
npm install --save @starptech/prettyhtml-hastscript
```

## Caveats

The implementation is a modified version of [**Hastscript Version 4.0.0**](https://github.com/syntax-tree/hastscript)

- Known html attributes aren't handled case-sensitively
- Don't coerce or optimize attribute values
- Don't house `<template>` node through `content` property. Handle it like any other element.

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