# gulp-any-template

> A gulp plugin to handle the most common templates

Latest version **0.3.1** (published 2017-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-any-template
pnpm add gulp-any-template
yarn add gulp-any-template
bun add gulp-any-template
```

## 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.3.1 |
| Published | 2017-08-26 |
| First published | 2017-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2.0 |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+6 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Faris Mustafa |
| Maintainers | farismmk |
| Keywords | gulpplugin, dust, ejs, handlebars, hogan, lodash, mustache, pug, swig, underscore |

## Links

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

## Dependencies (12)

- [ejs](https://npm.io/package/ejs.md) ^2.5.7
- [pug](https://npm.io/package/pug.md) ^2.0.0-rc.3
- [swig](https://npm.io/package/swig.md) ^1.4.2
- [hogan](https://npm.io/package/hogan.md) ^1.0.2
- [vinyl](https://npm.io/package/vinyl.md) ^2.1.0
- [hogan.js](https://npm.io/package/hogan.js.md) ^3.0.2
- [mustache](https://npm.io/package/mustache.md) ^2.3.0
- [through2](https://npm.io/package/through2.md) ^2.0.3
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.10
- [dustjs-linkedin](https://npm.io/package/dustjs-linkedin.md) ^2.7.5
- [lodash.template](https://npm.io/package/lodash.template.md) ^4.4.0
- [underscore.template](https://npm.io/package/underscore.template.md) ^0.1.7

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2017-08-26
- 0.3.0 — 2017-08-26
- 0.2.0 — 2017-08-24
- 0.1.0 — 2017-08-24

## README

# gulp-any-template [![Circle CI](https://circleci.com/gh/farism/gulp-any-template/tree/master.svg?style=svg)](https://circleci.com/gh/farism/gulp-any-template/tree/master)

Zero-config Gulp plugin to pipe any template format and emit an interpolated file. Currently supported templating engines are:

- Dustjs-linkedin
- EJS
- Handlebars
- Hogan
- lodash.template
- Mustache
- Pug
- Swig
- underscore.template

#### Example

```js
const anyTemplate = require('gulp-any-template')

gulp.task('compile-template', () => {
  return gulp.src('index.ejs')
    .pipe(anyTemplate({ title: 'Title' }))
    .pipe(rename('index.html'))
    .pipe(gulp.dest('build'))
})
```

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