gulp-dot-template

0.2.1 • Public • Published

gulp-dot-template

Render doT templates

Installation

npm i gulp-dot-template --save

Usage

src/template.dot

Hello, {{=it.name}}!

gulpfile.js

var gulp = require('gulp');
var template = require('gulp-dot-template');
 
gulp.task('default', function () {
    return gulp.src('src/template.dot')
        .pipe(template({ name: 'Bob' }))
        .pipe(gulp.dest('dist'));
});

License

MIT

Package Sidebar

Install

npm i gulp-dot-template

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • titarenko