gulp-trim

1.0.2 • Public • Published

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'));
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1,003
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1,003
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i gulp-trim

Weekly Downloads

1,003

Version

1.0.2

License

MIT

Last publish

Collaborators

  • riim