gulp-trim
v1.0.2
Published
gulp-trim
Downloads
4,323
Readme
gulp-trim
Remove the whitespace from the beginning and end of a content.
Usage
- Install
gulp-trim
as dependency:
npm install gulp-trim --save-dev
- Edit your
gulpfile
:
var trim = require('gulp-trim');
gulp.task('mytask', function() {
gulp.src('src/file.txt')
.pipe(trim())
.pipe(gulp.dest('trimmed'));
});