# polyclean

> Basic html hygiene.

Latest version **1.3.1** (published 2016-01-13) · BSD-3-Clause license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2016-01-13 |
| First published | 2015-04-12 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | The Polymer Project Authors |
| Maintainers | garlicnation, polymer, nevir, azakus |

## Links

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

## Dependencies (6)

- [dom5](https://npm.io/package/dom5.md) ^1.0.1
- [espree](https://npm.io/package/espree.md) ^2.0.1
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [escodegen](https://npm.io/package/escodegen.md) ^1.6.1
- [uglify-js](https://npm.io/package/uglify-js.md) ^2.4.19
- [plugin-error](https://npm.io/package/plugin-error.md) ^0.1.1

## Recent versions

- 1.3.1 (latest) — 2016-01-13
- 1.3.0 — 2016-01-08
- 1.2.1 — 2016-01-05
- 1.2.0 — 2015-05-28
- 1.1.0 — 2015-05-22
- 1.0.0 — 2015-05-20
- 0.0.1 — 2015-04-12

## README

# Polyclean

Basic gulp plugins for cleaning html.

## API

- `cleanJsComments`
    - Remove javascript comments
- `leftAlignJs`
    - Remove javascript comments and leading whitespace
- `uglifyJs`
    - Run javascript through `uglify`
    - Pass options with `uglifyJs(options)`
      - `options.fromString` is always true
- `cleanCss`
    - Remove extra whitespace in CSS

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