1.0.6 • Published 6 years ago

gulp-tempos v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

gulp-tempos

Gulp plugin to compile tempos templates.

Install

npm install --save-dev gulp-tempos

Usage

var gulp = require('gulp'),
    tempos = require('gulp-tempos');

gulp.task('tempos', function() {
    gulp.src(['src/*.temp'])
    .pipe( tempos(null, {
    	extname: '.html'
    }))
    .pipe(gulp.dest('./dist'));
});

Parameter

ParameterDescription
dataThe data object to be imported
optionOnly one parameter is included (extname: the extension of the output file)

Donation

Wechat      Alipay