yeps-cookie-parser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.eslintrc
.gitignore
.istanbul.yml
.travis.yml
LICENSE
README.md
appveyor.yml
index.js
package.json

README.md

YEPS Cookie Parser

NPM

npm version Build Status Coverage Status Linux Build Windows Build

Dependency Status devDependency Status NSP Status

License GitHub stars GitHub forks GitHub issues Twitter

How to install

npm i -S yeps-cookie-parser

How to use

const App = require('yeps');
const cookies = require('yeps-cookie-parser');

const app = new App();

app.all([
    cookies();
]);

app.then(async ctx => {
    console.log(ctx.request.cookies);
});

YEPS documentation