frontend-cookies
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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");

Package Sidebar

Install

npm i frontend-cookies

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

3.97 kB

Total Files

5

Last publish

Collaborators

  • alexrusin