dot-store-cookie

4.4.0 • Public • Published

dot-store-cookie

Cookie integration for dot-store.

cookie in space

Install

npm install --save dot-store dot-store-cookie

Create store

import composeStore from "dot-store"
import composeCookie from "dot-store-cookie"

const store = composeCookie(composeStore())

Set cookie

await store.cookie("hello", "world") // world

Read cookie

await store.cookie("hello") // world
store.get("hello") // world (cached)

Readme

Keywords

Package Sidebar

Install

npm i dot-store-cookie

Weekly Downloads

0

Version

4.4.0

License

MIT

Unpacked Size

8.66 kB

Total Files

5

Last publish

Collaborators

  • winton