Client-side cookies reader & writer
npm install --save koo
Get cookies
koo.get(); // {hello: 'world'}
koo.get('hello'); // 'world'
Set cookie with options
object:
expires
path
domain
samesite
secure
Remove cookie
MIT
Client-side cookies reader & writer
npm install --save koo
Get cookies
koo.get(); // {hello: 'world'}
koo.get('hello'); // 'world'
Set cookie with options
object:
expires
path
domain
samesite
secure
Remove cookie
MIT