0.6.0 • Published 6 years ago

gulp-statil v0.6.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Description

This is a gulp plugin for 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

npm i gulp-statil

In your gulpfile.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'))
))
0.6.0

6 years ago

0.5.0

7 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago