node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »



Use this tool to compress all your assets to single file eg. all.js.

Just include it into your Node.JS project as usual module.

How to use

Add build.json file to you app's root folder

    "watch": true,
    "compress": true,
    "scripts": {
        "output": "media/scripts/all.js",
        "input": [
    "styles": {
        "output": "media/styles/all.css",
        "input": [

Then include BuildJS from your app.js


Or if you use ExpressJS

app.configure('production', function () {

Then... that's all ;)