xck
v1.1.0
Published
> A tiny and secure cookie package for JavaScript.
Maintainers
Readme
Cookie Package
A tiny (3kB) and secure cookie package for JavaScript.
You can set remove and get the cookies in the entire website !
- Install
npm i xck- import
import { setCk, getCk, removeCk } from xck;- set Cookie
setCk("cookie-name", "myCookie");- get Cookie
const cookie = getCk("cookie-name");
console.log(cookie); //myCookie- remove Cookie
removeCk("cookie-name");