cookieManager.js is an incredibly simple and lightweight library to add, fetch, modify and remove cookies from your browser.
js cookie, js cookie cdn, jquery cookie, npm cookies, js cookie npm, js cookie typescript, cookie manager firefox
How to make use of it:
1. Download and import the JavaScript cookieManager.min.js
into the doc.
<script src="cookieManager.min.js"></script>
2. Create a cookie and go through the next parameters:
// setCookie(cookieName, cookieValue, cookieLifespan); setCookie('myCookie', 'wcf', 1);
3. Get the cookie value by name.
var cookieValue = getCookie('myCookie');
4. Check if a cookie exists.
var cookieExists = checkCookie('myCookie');
5. Remove the cookie.
clearCookie('myCookie');
Tiny Cookie Manipulation, cookieManager.js Plugin/Github
See Demo And Download
Official Website(Gigabyte5671): Click Here
This superior jQuery/javascript plugin is developed by Gigabyte5671. For extra Advanced Usages, please go to the official website.