node-combinator
Console script to find repeated <script>
or <link>
elements and streamline them into a single element using a combo handler
Takes HTML that looks like this
... ...
and transforms it to look like this
... ...
saving HTTP requests, bytes over the wire, and possibly your sanity (unlikely).
Install
npm -g install node-combinator
Usage
combinator -f index.html
Programmatic Usage
var Combinator = combinator = src : "<!DOCTYPE html>" ; combinator;
Development
To install from a clone of the source:
git clone git://github.com/tivac/node-combinator.git
cd node-combinator
npm link