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'))
})
Package Sidebar
Install
npm i gulp-transform-indent
Weekly Downloads