In late twenty thirteen, the team behind Express.js announced a new framework called Koa. It uses some features that require an unstable dev version of Node.

Let’s try it! First we’ll install node version 0.11.11 Unstable.

tar -xzvf node-v0.11.11.tar.gz
cd node-v0.11.11
apt-get install build-essential
make and make install
node -v

Now we’ll clone an example of Koa.

cd koa-ejs/example
npm install
node --harmony app.js

Go to localhost:7001 and It works.


In a future article we’ll delve more into this framework.