# domsanitizer

> A template to parsable tree transformer used to produce valid HTML content.

Latest version **0.2.3** (published 2021-01-08) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2021-01-08 |
| First published | 2019-05-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Andrea Giammarchi |
| Maintainers | webreflection |
| Keywords | dom, sanitizer |

## Links

- npm: https://www.npmjs.com/package/domsanitizer
- Repository: https://github.com/WebReflection/domsanitizer
- Homepage: https://github.com/WebReflection/domsanitizer#readme
- Issues: https://github.com/WebReflection/domsanitizer/issues
- npm.io page: https://npm.io/package/domsanitizer

## Dependencies (1)

- [domconstants](https://npm.io/package/domconstants.md) ^0.1.2

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

- 0.2.3 (latest) — 2021-01-08
- 0.2.2 — 2019-07-19
- 0.2.1 — 2019-07-19
- 0.2.0 — 2019-05-10
- 0.1.1 — 2019-05-10
- 0.1.0 — 2019-05-10

## README

# domsanitizer

[![Build Status](https://travis-ci.com/WebReflection/domsanitizer.svg?branch=master)](https://travis-ci.com/WebReflection/domsanitizer) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/domsanitizer/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/domsanitizer?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/WebReflection/domsanitizer.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg)

A template to parsable tree transformer used to produce valid HTML content.

This project aim is to provide a unified transformer across these projects (or more)

  * [domtagger](https://github.com/WebReflection/domtagger)
  * [hyperHTML](https://github.com/WebReflection/hyperHTML), based on _domtagger_
  * [lighterhtml](https://github.com/WebReflection/lighterhtml), also based on _domtagger_

This project is responsible for eventual bad transformations so that updating this once, will fix all dependents.

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