condenseify
This module for Browserify will transform your js files condensing multiple blank (empty) lines into a single blank line. By default non empty lines containing only white spaces will be removed.
Install
npm install --save condenseify
Usage
Command Line
browserify main.js -t condenseify > bundle.js
API
Register the transform.
'use strict'; var condenseify = browserify = fs = ; var b = ;b; b;
Options
If you want to keep the blank (non empty) lines you can use the keep-non-empty
option. Reusing the examples above, this translates into:
browserify main.js -t [ condenseify --keep-non-empty ] > bundle.js
for the command line and
b;
for the API.