Simple tool to compile and serve Jade, CoffeeScript and Stylus files

Jader - Jade server

Jader allows you to start a simple server in any directory with Jade templates. It also supports embedded and linked CoffeeScript and Stylus.

Please note: This is only intended for quickly prototyping Jade templates. If you want to use Jade templates in production, consider using Express.

You should install Jader globally so that it creates the executable script for you.

sudo npm install jader -g

You can then start the server on localhost:80 in any directory.


If you need to use a different port, use:

jader -p 1337

Jader will serve any other static files in the directory.

You can test the variables in templates by including a ".json" file along with each ".jade" file.

Any JSON file with the same basename as the Jade template will be read and passed into the template as local variables.

For example:


!!! 5
        title #{title}
        p #{message}


    "title": "My Page",
    "message": "It works!"