gulp-jsbeautifier
Beautify js, css, html and json files using Gulp and js-beautify.
Installation
npm install --save-dev gulp-jsbeautifier
Configuration
const gulp = require('gulp');
const beautify = require('gulp-jsbeautifier');
gulp.task('beautify', () =>
gulp.src(['./*.html'])
.pipe(beautify())
.pipe(gulp.dest('./dist'))
);