2.0.0 • Published 5 years ago

gulp-rmlines v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

gulp-rmlines Build Status Travis codecov

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

License

MIT © t1st3

2.0.0

5 years ago

1.0.0

6 years ago

0.2.0

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago