Koa.js is an expressive next-generation web framework written for Node.js by the people behind the Express and Connect frameworks. Koa.js leverages generators, which are a bleeding edge feature of JavaScript, and have not yet been made into stable versions of Node.js. Koa aims to use generators to save developers from the spaghetti of callbacks, making it less error-prone and thus more manageable.
![Introduction to Generators & Koa.js: Part 1 | Envato Tuts+](https://cdn-ak-scissors.b.st-hatena.com/image/square/d932ae431420bd846392380b9e6e0090e3173b0f/height=288;version=1;width=512/https%3A%2F%2Fcms-assets.tutsplus.com%2Fuploads%2Fusers%2F45%2Fposts%2F21615%2Fpreview_image%2Fjavascript-wide-retina-preview.png)