fomex-cookie
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    4
  • 0.0.2
    3
  • 0.0.1
    3

Package Sidebar

Install

npm i fomex-cookie

Weekly Downloads

7

Version

0.0.3

License

MIT

Unpacked Size

13.7 kB

Total Files

10

Last publish

Collaborators

  • fwh1990