Package detail

closure-tools

Google Closure Tools :: Python files on npm

Closure Tools, minification, Performance

readme

Google Closure Tools

Google Closure Tools build python files on npm

Quick Start

Install...

npm istall superstartup-closure-compiler --save-deps
  • getPath( filename )

example:

var closureTools = require('closure-tools'),
    exec     = require('require('child_process').exec');

/* ... */

// prepare the closurebuilder command
var command = closureTools.getPath('build/closurebuilder.py') + ' ' + buildOptions;

// run the closureTools command
exec( command, cb );

The Closure bin Contents

This is the current breakout of the Google Closure's Tools folder, and in effect all the possible values the getPah() method will make sense:

build/closurebuilder.py
build/depstree_test.py
build/source_test.py
build/depstree.py
build/depswriter.py
build/source.py
build/treescan.py
build/jscompiler.py
calcdeps.py
scopify.py