# gulp-htl

> HTL gulp plugin

Latest version **0.1.2** (published 2019-01-07) · MIT license · 0 weekly downloads

## Install

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

## 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.1.2 |
| Published | 2019-01-07 |
| First published | 2019-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 5 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Cerys Williams |
| Maintainers | cw5587 |
| Keywords | htl, gulp, aem, sightly |

## Links

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

## Dependencies (5)

- [gulp](https://npm.io/package/gulp.md) 4.0.0
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [gulp-rename](https://npm.io/package/gulp-rename.md) ^1.4.0
- [plugin-error](https://npm.io/package/plugin-error.md) ^0.1.2
- [@adobe/htlengine](https://npm.io/package/@adobe/htlengine.md) ^2.1.0

## Recent versions

- 0.1.2 (latest) — 2019-01-07
- 0.1.1 — 2019-01-07
- 0.1.0 — 2019-01-07
- 0.0.9 — 2019-01-03
- 0.0.8 — 2019-01-03
- 0.0.7 — 2019-01-03
- 0.0.6 — 2019-01-03
- 0.0.5 — 2019-01-03
- 0.0.4 — 2019-01-03
- 0.0.3 — 2019-01-03
- 0.0.2 — 2019-01-03
- 0.0.1 — 2019-01-03
- 0.0.0 — 2019-01-03

## README

> HTL gulp plugin

[![NPM](https://nodei.co/npm/gulp-htl.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/gulp-htl/)

![sonarcloud.io status](https://sonarcloud.io/api/project_badges/measure?project=c3ry5_gulp-htl&metric=alert_status)

## Install

```
$ npm install --save-dev gulp
$ npm install --save-dev gulp-htl
```

For the example below you'll also need 

```
$ npm install --save-dev gulp-rename
```

## Usage

```js
const gulp = require('gulp');
const rename = require('gulp-rename');
const htl = require('gulp-htl');

gulp.task('default', () =>
	gulp.src(['src/**/*.html', '!src/**/*.spec.html'])
		.pipe(htl())
		.pipe(rename({extname:'.spec.html'}))
		.pipe(gulp.dest('src'))
);
```

## Thanks 

Thanks to [LatourJ](https://github.com/LatourJ) for working out some of the quirks the HTL compiler in their [project](https://github.com/LatourJ/mass-htl)

## License

MIT © [Cerys Williams](https://www.c3ry5.com)

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