gulp-trim

gulp-trim

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-trim
101.0.29 years ago9 years agoMinified + gzip package size for gulp-trim in KB

Readme

gulp-trim
Remove the whitespace from the beginning and end of a content.

Usage

  1. Install gulp-trim as dependency:

npm install gulp-trim --save-dev

  1. Edit your gulpfile:

var trim = require('gulp-trim');

gulp.task('mytask', function() {
  gulp.src('src/file.txt')
    .pipe(trim())
    .pipe(gulp.dest('trimmed'));
});