# gulp-statil

> Gulp plugin for Statil, a lightweight HTML generator

Latest version **0.6.0** (published 2018-02-07) · MIT license · 0 weekly downloads

## Install

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

## 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.6.0 |
| Published | 2018-02-07 |
| First published | 2015-02-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mitranim |
| Maintainers | mitranim |
| Keywords | static, site, html, generator, gulp, plugin |

## Links

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

## Dependencies (2)

- [vinyl](https://npm.io/package/vinyl.md) ^1.1.1
- [plugin-error](https://npm.io/package/plugin-error.md) ^1.0.1

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

- 0.6.0 (latest) — 2018-02-07
- 0.5.0 — 2017-02-27
- 0.1.0 — 2016-04-17
- 0.0.9 — 2016-01-21
- 0.0.8 — 2016-01-04
- 0.0.7 — 2016-01-04
- 0.0.6 — 2015-10-18
- 0.0.5 — 2015-08-24
- 0.0.4 — 2015-06-29
- 0.0.3 — 2015-06-27
- 0.0.2 — 2015-03-09
- 0.0.1 — 2015-02-25

## README

## Description

This is a [`gulp`](http://gulpjs.com) plugin for
[`Statil`](https://github.com/Mitranim/statil), a lightweight templating utility.

Contrary to its name, this plugin doesn't actually use Statil. It simply provides a file buffering utility, which allows you to use Statil directly.

## Installation and Usage

```sh
npm i gulp-statil
```

In your `gulpfile.js`:

```js
const {withBufferedContents} = require('gulp-statil')
const {createSettings, renderSettings} = require('statil')

gulp.task('templates', () => (
  gulp.src('src/html/**/*')
    .pipe(withBufferedContents(templates => (
      renderSettings(createSettings(templates, {}))
    )))
    .pipe(gulp.dest('dist'))
))
```

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