# purgecss-from-html

> HTML extractor for PurgeCSS

Latest version **8.0.0** (published 2026-01-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install purgecss-from-html
pnpm add purgecss-from-html
yarn add purgecss-from-html
bun add purgecss-from-html
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2026-01-24 |
| First published | 2018-01-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 8049 |
| Author | Ffloriel |
| Maintainers | jsnanigans, ffloriel |

## Links

- npm: https://www.npmjs.com/package/purgecss-from-html
- Repository: https://github.com/FullHuman/purgecss
- Homepage: https://github.com/FullHuman/purgecss#readme
- Issues: https://github.com/FullHuman/purgecss/issues
- npm.io page: https://npm.io/package/purgecss-from-html

## Dependencies (2)

- [parse5](https://npm.io/package/parse5.md) ^7.1.2
- [parse5-htmlparser2-tree-adapter](https://npm.io/package/parse5-htmlparser2-tree-adapter.md) ^7.0.0

## Recent versions

- 8.0.0 (latest) — 2026-01-24
- 3.1.0-alpha.0 (next) — 2020-12-01
- 7.0.2 — 2024-11-21
- 7.0.1-alpha.0 — 2024-11-21
- 6.0.0 — 2024-03-29
- 6.0.0-alpha.0 — 2023-04-23
- 5.0.0 — 2022-09-13
- 4.1.1 — 2021-11-28
- 4.1.0 — 2021-11-28
- 4.0.3 — 2021-03-20
- 4.0.2 — 2021-02-21
- 4.0.0 — 2021-01-17
- 3.1.3 — 2020-12-15
- 3.1.0 — 2020-12-14
- 3.0.0 — 2020-09-20
- … 7 more at https://npm.io/package/purgecss-from-html/versions

## README

# `purgecss-from-html`

> TODO: description

## Usage

```
const purgecssFromHtml = require('purgecss-from-html');

// TODO: DEMONSTRATE API
```

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