Socket
Book a DemoInstallSign in
Socket

gulp-soften

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-soften

A gulp task that converts hard tabs to spaces.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
224
14.29%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-soften

A gulp task that converts hard tabs to spaces.

Usage

soften([size])

soften() takes a single parameter, size, which is the number of spaces to convert tabs into.

It returns a stream for use in a streaming system like gulp.js.

Example

// Gulpfile.js
var gulp = require('gulp')
  , soften = require('gulp-soften')

gulp.task('soften', function () {
  gulp.src('./**/*.js')
      .pipe(soften(2))
      .pipe(gulp.dest('./'))
})

Keywords

gulp

FAQs

Package last updated on 04 Jan 2014

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