docs: mention 0.12.x instead of 0.11.x

This commit is contained in:
TJ Holowaychuk 2015-12-22 10:55:36 -08:00
parent 4b7b9790f2
commit b6cf2ed605

View file

@ -1,12 +1,14 @@
# Installation
Koa works out of the box with recent versions of Node. To use Koa with 0.11.x you must use the `--harmony` or `--harmony-generators` flag.
Koa works out of the box with recent versions of Node.
```bash
$ npm install koa
$ node app.js
```
To use Koa with 0.12.x you must use the `--harmony` or `--harmony-generators` flag.
# Application
A Koa application is an object containing an array of middleware generator functions