A line-remover plugin for
gulp
Thin wrapper around rmlines
to make it a gulp plugin.
Also available as a Grunt plugin.
$ npm install --save gulp-rmlines
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'));
});
Supports streaming mode.
Type: integer|array
The number(s) of the line(s) that must be removed.
Type: object
See rmlines
's options, which are all supported.
- rmlines | API for rmlines
- rmlines-cli | CLI for rmlines
- grunt-rmlines | rmlines as a
Grunt
plugin
MIT © t1st3