@innobuilder/token-cookies
v0.0.1
Published
Helper for saving tokens in cookies on browser frontend
Downloads
3
Maintainers
Readme
Sequelize Session Storage
Get, set, and delete cookies in a browser
Usage
import { setCookie, getCookie, removeCookie } from "@innobuilder/token-cookies";
// set cookie
setCookie("myCookie", "hello", 7);
// get cookie
const myCookie = getCookie("myCookie");
// delete cookie
removeCookie("myCookie");