gulp-jstransformer 
Gulp support for JSTransformers

Install
npm install gulp-jstransformer --save
Usage
For more use-cases see the tests in test folder or see the JSTransformer API for more details.
'use strict';
var gulp = require('gulp');
var rename = require('gulp-rename');
var jstransformer = require('gulp-jstransformer');
var options = {
engine: 'octet'
};
var locals = {
hello: 'Hello'
};
gulp.task('default', function () {
return gulp.src('test/*.octet')
.pipe(jstransformer(options, locals))
.pipe(rename(function (path) {
path.basename = 'expected'
path.extname = ".html"
}))
.pipe(gulp.dest('dest/'));
});
or just git clone this repository and run gulp
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
License
The MIT License