gulp-jst

v0.1.1
Compile underscore templates to a JST file using gulp.
gulpplugin jst lodash template underscore

gulp-jst Build Status

Compile lodash templates to a JST file using gulp.

Install

Install using npm.

npm install gulp-jst --save-dev

Usage

var gulp = require('gulp');
var jst = require('gulp-jst');

gulp.task('jst', function() {
    gulp.src('input/*.html')
        .pipe(jst())
        .pipe(gulp.dest('./output'));
});

gulp.task('default', ['jst']);

Options

jst(options)

gulp-jst accepts the same _.template options as the lodash library.

npm i gulp-jst

Metadata

  • MIT
  • >=0.10.0
  • Ryan Murphy
  • released 1/31/2014

Downloads

Maintainers