# html-browserify

> Makes HTML files usuable as modules in Browserify

Latest version **0.0.6** (published 2015-07-28) · 0 weekly downloads

## Install

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

## 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.0.6 |
| Published | 2015-07-28 |
| First published | 2014-02-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Chris Grant |
| Maintainers | duckbox |
| Keywords | browserify, html, v2, js, plugin, transform, browserify-transform |

## Links

- npm: https://www.npmjs.com/package/html-browserify
- Repository: https://github.com/duckbox/html-browserify
- Issues: https://github.com/duckbox/html-browserify/issues
- npm.io page: https://npm.io/package/html-browserify

## Dependencies (2)

- [through](https://npm.io/package/through.md) ^2.3.6
- [htmlclean](https://npm.io/package/htmlclean.md) ^2.6.3

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.6 (latest) — 2015-07-28
- 0.0.4 — 2014-02-13
- 0.0.3 — 2014-02-12
- 0.0.2 — 2014-02-12
- 0.0.1 — 2014-02-12

## README

html-browserify
===============

[![Build Status](https://travis-ci.org/duckbox/html-browserify.png?branch=master)](https://travis-ci.org/duckbox/html-browserify)


Simple HTML transform for Browserify

##Install

	npm install html-browserify

##Usuage with Gulp

```javascript

//...
var html = require('html-browserify');
//...

gulp.task('js', function() {
  gulp.src('js/app.js')
    .pipe(browserify({
      insertGlobals: true,
      transform: html
    }))
    .pipe(concat('app.js'))
    .pipe(gulp.dest('./public/js'));
});
```

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