# @starptech/prettyhtml-formatter

> Html formatter

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

## Install

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

## 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 | 18 |
| Unpacked size | 16.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 286 |
| Author | Dustin Deus |
| Maintainers | starptech |
| Keywords | formatter, prettyhtml, html5 |

## Links

- npm: https://www.npmjs.com/package/@starptech/prettyhtml-formatter
- 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-formatter

## Dependencies (18)

- [xtend](https://npm.io/package/xtend.md) ^4.0.1
- [unified](https://npm.io/package/unified.md) ^7.1.0
- [prettier](https://npm.io/package/prettier.md) ^1.18.2
- [to-vfile](https://npm.io/package/to-vfile.md) ^6.0.0
- [is-hidden](https://npm.io/package/is-hidden.md) ^1.1.2
- [repeat-string](https://npm.io/package/repeat-string.md) ^1.6.1
- [unist-util-is](https://npm.io/package/unist-util-is.md) ^2.1.3
- [unist-util-find](https://npm.io/package/unist-util-find.md) ^1.0.1
- [html-void-elements](https://npm.io/package/html-void-elements.md) ^1.0.4
- [hast-util-to-string](https://npm.io/package/hast-util-to-string.md) ^1.0.2
- [@starptech/webparser](https://npm.io/package/@starptech/webparser.md) ^0.10.0
- [hast-util-is-element](https://npm.io/package/hast-util-is-element.md) ^1.0.3
- [unist-util-visit-parents](https://npm.io/package/unist-util-visit-parents.md) ^2.1.2
- [@starptech/rehype-webparser](https://npm.io/package/@starptech/rehype-webparser.md) ^0.10.0
- [@starptech/expression-parser](https://npm.io/package/@starptech/expression-parser.md) ^0.10.0
- [@starptech/prettyhtml-hast-to-html](https://npm.io/package/@starptech/prettyhtml-hast-to-html.md) ^0.10.0
- [@starptech/rehype-minify-whitespace](https://npm.io/package/@starptech/rehype-minify-whitespace.md) ^0.10.0
- [html-whitespace-sensitive-tag-names](https://npm.io/package/html-whitespace-sensitive-tag-names.md) ^1.0.1

## 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.16 — 2018-12-30
- 0.8.15 — 2018-12-18
- 0.8.14 — 2018-12-14
- 0.8.13 — 2018-12-13
- 0.8.12 — 2018-12-12
- 0.8.11 — 2018-12-10
- 0.8.10 — 2018-12-09
- 0.8.9 — 2018-12-09
- 0.8.7 — 2018-12-06
- 0.8.6 — 2018-12-04
- 0.8.5 — 2018-11-28
- 0.8.4 — 2018-11-25
- … 86 more at https://npm.io/package/@starptech/prettyhtml-formatter/versions

## README

# @starptech/prettyhtml-formatter

HTML formatter for [HAST](https://github.com/syntax-tree/hast)

## Installation

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

## Api

###### `node.data.ignore`

When the data-property `ignore` is `true` the node is skipped for formatting.

## Caveats

The implementation is a derivated from [**rehype-format Version 2.3.0**](https://github.com/rehypejs/rehype-format) rehype-format.

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