gulp-linenum
v0.0.2
Published
A plugin for gulp to replace line number.
Downloads
10
Readme
gulp-linenum
Code block processing with linenum.
Installation
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-linenum
Usage
var linenum = require('gulp-linenum');
gulp.task('dist', function() {
return gulp.src('lib/*.js')
.pipe(linenum())
.pipe(gulp.dest('dist'));
});
Options
pattern
pattern default
"^linenum"
prefix
prefix, default :
suffix
suffix
offset
offset, default 1
MIT © zswang