visit-lib-cookie
v0.1.5
Published
``` npm install visit-lib-cookie ```
Downloads
30
Keywords
Readme
cookie
Project setup
npm install visit-lib-cookie
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Function used in library
visitCookie.hasCookie(name) // Check the cookie is available
visitCookie.setCookie(name,value) // Set a new cookie
visitCookie.getCookieList() // Get all the cookie list
visitCookie.getCookie(name) // Get cookie by name
visitCookie.delAllCookies() // Empty the cookie
visitCookie.removeCookie(name) // Remove cookie item
Lints and fixes files
npm run lint