0.6.0 • Published 7 years ago

gulp-statil v0.6.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 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

7 years ago

0.5.0

8 years ago

0.1.0

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago