gulp-rmlines

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i gulp-rmlines

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

4.45 kB

Total Files

4

Last publish

Collaborators

  • t1st3