0.0.3 • Published 4 years ago

fomex-cookie v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Fomex cookie

Cookie parser for fomex

License GitHub Workflow Status (branch) Codecov

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.

Methods

get(name, options)

set(name, value, options)

delete(name, options)

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago