New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gulp-trim

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-trim

gulp-trim

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
929
-14.3%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 08 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts