This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gulp-js-prettify

0.1.0 • Public • Published

Prettify JavaScript with js-beautify.

Getting Started

Install the module with: npm install gulp-js-prettify

Usage

var gulp = require('gulp');
var prettify = require('gulp-prettify');
 
gulp.task('prettify', function() {
  gulp.src('./src/foo.js')
    .pipe(prettify({collapseWhitespace: true}))
    .pipe(gulp.dest('./src')) // edit in place
});

See the js-beautify docs for options.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

Authors

License

Copyright (c) 2014 David McNamara, Jon Schlinkert Licensed under the MIT license.

/gulp-js-prettify/

    Package Sidebar

    Install

    npm i gulp-js-prettify

    Weekly Downloads

    93

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • npm