Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 362 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 362 Bytes

gulp-lunr

create a lunr.js index from vinyl file streams using gulp

Note: this plugin is still under development.

Example gulpfile

var gulp = require('gulp');
var lunr = require('gulp-lunr');

gulp.task('lunr', function() {
  return gulp.src('docs/*')
    .pipe(lunr('index.json'))
    .pipe(gulp.dest('./'));
});