# gulp-hypher

> Preprocess HTML with Hypher

Latest version **1.0.3** (published 2016-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-hypher
pnpm add gulp-hypher
yarn add gulp-hypher
bun add gulp-hypher
```

## 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.3 |
| Published | 2016-03-17 |
| First published | 2015-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Robert Wallis |
| Maintainers | bobwallis |
| Keywords | gulp, gulpplugin, hyphenation, hypher, html |

## Links

- npm: https://www.npmjs.com/package/gulp-hypher
- Repository: https://github.com/bobwallis/gulp-hypher
- Homepage: https://github.com/bobwallis/gulp-hypher#readme
- Issues: https://github.com/bobwallis/gulp-hypher/issues
- npm.io page: https://npm.io/package/gulp-hypher

## Dependencies (4)

- [hypher](https://npm.io/package/hypher.md) ^0.2.0
- [cheerio](https://npm.io/package/cheerio.md) ^0.19.0
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.6

## 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.3 (latest) — 2016-03-17
- 1.0.2 — 2015-09-07
- 0.0.1 — 2015-09-05

## README

# gulp-hypher

> Preprocess HTML with [Hypher](https://github.com/bramstein/hypher)

*Issues with the output should be reported on the Hypher [issue tracker](https://github.com/bramstein/hypher/issues).*


## Install

```
$ npm install --save-dev gulp-hypher
$ npm install --save-dev hyphenation.en-us
```

Replacing en-us with the relevant hyphenation pattern for your language.

## Usage

```js
var gulp = require('gulp');
var hypher = require('gulp-hypher');
var hypher_en_us = require('hyphenation.en-us');

gulp.task('default', function () {
	return gulp.src('index.html')
		.pipe(hypher(hypher_en_us))
		.pipe(gulp.dest('dist'));
});
```

This will add soft hyphens to all text nodes in the HTML passed.

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