README
dot-store-cookie
Cookie integration for dot-store.
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)