node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


Prettify, format, beautify HTML.


Prettify, format, beautify HTML.

Install as a devDependency with npm:

$ npm i gulp-prettify -D
var gulp = require('gulp');
var prettify = require('gulp-prettify');
gulp.task('prettify', function() {
    .pipe(prettify({indent_size: 2}))

Other examples are in the example folder.

See the js-beautify docs for options.

Install dev dependencies:

$ npm i -d && npm test

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Jon Schlinkert

Copyright © 2015 Jon Schlinkert Released under the MIT license.

This file was generated by verb on December 27, 2015.