gulp-jst

0.1.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    15
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    15
  • 0.1.0
    0

Package Sidebar

Install

npm i gulp-jst

Weekly Downloads

12

Version

0.1.1

License

MIT

Last publish

Collaborators

  • rdm