frontend-cookies
v0.0.3
Published
Helper for setting, getting and deleting cookies on the front end
Downloads
1
Readme
Sequelize Session Storage
Get, set, and delete cookies in a browser
Usage
import { setCookie, getCookie, eraseCookie } from "frontend-cookies";
// set cookie
setCookie("myCookie", "hello", 7);
// get cookie
const myCookie = getCookie("myCookie");
// delete cookie
eraseCookie("myCookie");