ko-basic-cookie
v1.0.0
Published
Very simple functions for creating, retrieving and deleting cookies.
Downloads
18
Readme
ko-basic-cookie
Installation
NPM
$ npm i ko-basic-cookie
Basic Usage
Create a cookie
setCookie('name', 'value')
Create a cookie that expires 7 days from now
setCookie('name', 'value', 7)
Read a cookie
getCookie('name')
Remove a cookie
removeCookie('name')