update description and such
This commit is contained in:
parent
fad4d10057
commit
46b43d831b
2 changed files with 4 additions and 4 deletions
|
@ -20,13 +20,13 @@
|
||||||
Koa requires __node v7.6.0__ or higher for ES2015 and async function support.
|
Koa requires __node v7.6.0__ or higher for ES2015 and async function support.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ npm install koa
|
$ npm install koa-lite
|
||||||
```
|
```
|
||||||
|
|
||||||
## Hello Koa
|
## Hello Koa
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const Koa = require('koa');
|
const Koa = require('koa-lite');
|
||||||
const app = new Koa();
|
const app = new Koa();
|
||||||
|
|
||||||
// response
|
// response
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "koa",
|
"name": "koa-lite",
|
||||||
"version": "2.8.2",
|
"version": "2.8.2",
|
||||||
"description": "Koa web app framework",
|
"description": "Lite version of the Koa web app framework",
|
||||||
"main": "lib/application.js",
|
"main": "lib/application.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "egg-bin test test",
|
"test": "egg-bin test test",
|
||||||
|
|
Loading…
Reference in a new issue