Update Readme

This commit is contained in:
nicco 2017-08-18 18:46:22 +02:00
parent 039b7fb6d0
commit 57f260c1bb
2 changed files with 9 additions and 12 deletions

View File

@ -5,7 +5,7 @@ Koa Cookie Utility
```javascript
const
Koa = require('koa'),
router = require('koa-simple-router'),
router = require('koa-simple-router'),
cookie = require('cca-koa-cookie')
const
@ -13,7 +13,7 @@ const
port = 3000
// Parse Parameters
app.use(require(cookie))
app.use(cookie)
app.use(router({}, _ => {
_.get('/set', (c, n) => {

View File

@ -3,9 +3,6 @@
"version": "0.1.0",
"description": "Cookie Parser and Setter for Koa",
"main": "Cookie.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CupCakeArmy/koa-cookie.git"