Newlyweds Proposing Marriage

    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)

    Keywords

    none

    Install

    npm i fomex-cookie

    DownloadsWeekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    13.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • fwh1990