1.0.4 • Published 8 years ago

gulp-remove-line v1.0.4

Weekly downloads
155
License
ISC
Repository
github
Last release
8 years ago

gulp-remove-line

Remove lines from file by line number

Notes

With thanks to Carsten Schäfer's gulp-delete-lines

Example: Remove lines 2, 10, 11, 12 and 25

var gulp = require( "gulp" );
var removeLine = require( "gulp-remove-line" );

gulp.task( "remove-lines", function ( ) {

	gulp.src( [ "../build/index.html", "background/background.html" ] )
		.pipe( removeLine( { "index.html": [ 2, "10-12", 25 ], "background.html": [ "3-7" ] } ) )
		.pipe( gulp.dest( "dist" ) );

});
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago