Nth Phonetic Mnemonic

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

    1.5.0 • Public • Published

    koo

    Client-side cookies reader & writer

    Install

    npm install --save koo

    API

    koo.get([name])

    Get cookies

    koo.get(); // {hello: 'world'}
    koo.get('hello'); // 'world'

    koo.set(name, value[, options])

    Set cookie with options object:

    • expires
    • path
    • domain
    • samesite
    • secure

    koo.remove(name[, options])

    Remove cookie

    License

    MIT

    Install

    npm i koo

    DownloadsWeekly Downloads

    17

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    4.12 kB

    Total Files

    6

    Last publish

    Collaborators

    • andrepolischuk