node-closure icon indicating copy to clipboard operation
node-closure copied to clipboard

Binding to Google Closure Compiler

Results 4 node-closure issues
Sort by recently updated
recently updated
newest added

Turns out there are 2 other packages on npm for the Closure Compiler: 1. https://github.com/dcodeIO/ClosureCompiler.js 2. https://www.npmjs.org/package/closure Would be nice to see a list of differences at a glance.

I'll spare you the complete output, but here's some of it: ``` events.js:85 throw er; // Unhandled 'error' event ^ Error: java.lang.StackOverflowError at com.google.javascript.jscomp.parsing.IRFactory.handleJsDoc(IRFactory.java:792) at com.google.javascript.jscomp.parsing.IRFactory.transform(IRFactory.java:864) at com.google.javascript.jscomp.parsing.IRFactory.access$300(IRFactory.java:131) at com.google.javascript.jscomp.parsing.IRFactory$TransformDispatcher.processBinaryExpression(IRFactory.java:1447)...

Snippets like [this](https://github.com/tim-smart/node-closure/blob/fcf9918fbadf6efbcbea733ec09adadbe3b95373/lib/index.js#L55-L60): ``` js compiler.stdout.on('data', function(data) { return stdout += data; }); compiler.stderr.on('data', function(data) { return stderr += data; }); ``` could be written to leverage streams. My [streams-fu](https://github.com/substack/stream-handbook)...

Any plans to allow this to be installed globally and allowing the following at the terminal? `$closure-compiler $args

feature