gulp-transform-indent

0.3.2 • Public • Published

Gulp plugin for indent any file

const gulp = require('gulp')
 
gulp.task('indent', () => {
    const indent = require('gulp-transform-indent')
 
    return gulp
    .src('app/**/*')
    .pipe(indent({
        spacesBefore: 2,
        spacesAfter: 4
    }))
    .pipe(gulp.dest('app'))
})

Readme

Keywords

Package Sidebar

Install

npm i gulp-transform-indent

Weekly Downloads

1

Version

0.3.2

License

none

Last publish

Collaborators

  • ifedu