Home

Awesome

JSCrush

Minimal version of a JSCrusher to be used for js#k golf contest.

npm install -g jscrush

Usage

For now, only one CLI format is supported:

cat source.js | jscrush 1> output.js

You can also use it in Node / Browserify:

var jscrush = require("jscrush");
var crushed = jscrush(someJavascriptCode);

Credits