JavaScript Icon

Express - Sinatra cover band for Node.js

logged by @logbot 2010-03-29T16:00:42Z permalink #javascript #node

We’ve covered cool things from TJ Holowaychuk before, but Express, a new Sinatra-ispired DSL-based web framework for Node.js brings us to our feet.

To install, simply clone the project from The Hub:

$ git clone git://
$ cd express && git submodule update --init

or install via Kiwi

$ kiwi -v install express

From there, the syntax should look very familiar for the Sinatra fan:


get('/', function(){

get('/hello/world', function(){
  return 'Hello World'


Features in this version include:

  • RESTful DSL
  • Focus on high performance
  • Multi-part file upload support
  • Cookie support
  • Session support
  • Redirection helpers
  • Environment based configuration
  • Light-weight class implementation
  • Persistent flash messages
  • Route passing
  • MIME helpers
  • Logger plugin with many formats
  • View support (haml, sass, etc)
  • Cache API
  • RESTful HTTP client

[Source on GitHub] [Homepage]

0:00 / 0:00