1.0.2 • Published 7 years ago

gulp-stud v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

gulp-stud

Gulp plugin for stud(A simple templating engine for JavaScript). It helps compile stud template.

Installation

  
    npm install gulp-stud --save-dev

Usage

    var gulp = require('gulp');
    var prefix = require('./');

    gulp.task('stud', function(){
    gulp.src('./path-to-template-files/**/*.html')
        .pipe(stud())
        .pipe(gulp.dest('./path-to-where-you-want-the-compiled-template-files'));
    });

Test

    npm test

A gulp default task for dust has been created for test in this project. This will generate a 'compiled' folder of the compilations.