0.0.3 • Published 4 years ago
fomex-cookie v0.0.3
Fomex cookie
Cookie parser for fomex
Installation
yarn add fomex-cookie
Usage
import { baseWebRouter } from 'fomex';
import { PluginCookie } from 'fomex-cookie';
export webRouter = baseWebRouter.global(new PluginCookie());
And then you can get ctx.cookie
when handle routes.