gulp-rmlines
v2.0.0
Published
A line-remover plugin for gulp
Downloads
3
Readme
gulp-rmlines
A line-remover plugin for
gulp
Thin wrapper around rmlines
to make it a gulp plugin.
Also available as a Grunt plugin.
Install
$ npm install --save gulp-rmlines
Usage
const gulp = require('gulp');
const muxml = require('gulp-rmlines');
gulp.task('default', () => {
return gulp.src('src/example.txt')
.pipe(rmlines([4, 61, 729])
.pipe(gulp.dest('dist'));
});
API
Supports streaming mode.
gulpRmlines(lines, [options])
lines
Type: integer|array
The number(s) of the line(s) that must be removed.
options
Type: object
See rmlines
's options, which are all supported.
Related
- rmlines | API for rmlines
- rmlines-cli | CLI for rmlines
- gulp-rmlines | rmlines as a
Grunt
plugin
License
MIT © t1st3