# html-postcss

> PostCSS for inline HTML CSS

Latest version **0.2.1** (published 2020-08-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install html-postcss
pnpm add html-postcss
yarn add html-postcss
bun add html-postcss
```

## 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.2.1 |
| Published | 2020-08-07 |
| First published | 2015-07-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | RebelMail |
| Maintainers | devinus |
| Keywords | html, css, postcss |

## Links

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

## Dependencies (2)

- [cheerio](https://npm.io/package/cheerio.md) ^0.20.0
- [postcss](https://npm.io/package/postcss.md) ^7.0.32

## 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.2.1 (latest) — 2020-08-07
- 0.2.0 — 2020-08-07
- 0.1.2 — 2015-11-25
- 0.1.1 — 2015-09-16
- 0.1.0 — 2015-07-24

## README

# html-postcss

[![Build Status](https://travis-ci.org/Rebelmail/html-postcss.svg?branch=master)](https://travis-ci.org/Rebelmail/html-postcss)
[![NPM version](https://badge.fury.io/js/html-postcss.png)](http://badge.fury.io/js/html-postcss)

![html-postcss](html-postcss.gif)

Process CSS within the `<style>` tags and inline `style=` attributes in your
HTML using PostCSS.

## Usage

```js
var HTMLPostCSS = require('html-postcss');

var processor = new HTMLPostCSS(plugins);
processor.process(htmlString, cheerioOpts, postcssOpts); //=> '<html>...</html>'
```

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