# html-webpack-ultra-plugin

> webpack plugin to process html as you wish

Latest version **1.0.0** (published 2018-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install html-webpack-ultra-plugin
pnpm add html-webpack-ultra-plugin
yarn add html-webpack-ultra-plugin
bun add html-webpack-ultra-plugin
```

## 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.0.0 |
| Published | 2018-11-27 |
| First published | 2018-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | legeneek |
| Maintainers | legeneek |
| Keywords | html, webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/html-webpack-ultra-plugin
- Repository: https://github.com/legeneek/html-webpack-ultra-plugin
- Homepage: https://github.com/legeneek/html-webpack-ultra-plugin#readme
- Issues: https://github.com/legeneek/html-webpack-ultra-plugin/issues
- npm.io page: https://npm.io/package/html-webpack-ultra-plugin

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

- 1.0.0 (latest) — 2018-11-27

## README

# html-webpack-ultra-plugin

maybe you used `html-wepack-plugin` and bunch of other plugins still didn't get your html right, try this webpack plugin to process html as you wish. 

## install

```
npm i -D html-webpack-ultra-plugin
```

## usage

put this `after` html-webpack-plugin or other html generate plugin. pass a modifier to this plugin to modify your html

**webpack.config.js**

```
const HtmlWebpackPlugin = require('html-webpack-plugin')
const HtmlWebpackUltraPlugin = require('html-webpack-ultra-plugin')

function modifier (html, name) {
  // modify html as you wish
  return html
}

module.exports = {
  entry: 'index.js',
  output: {
    path: __dirname + '/dist',
    filename: 'bundle.js'
  },
  plugins: [
    new HtmlWebpackPlugin(),
    // other plugins...
    new HtmlWebpackUltraPlugin({modifier: modifier})
  ]
}
```

## option

| name | type | desc |
|:---|:---|:---|
| modifier | function | html modify function. args: `html`(html content to modify, string type) and `name`(html file name, string type)

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