You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parseCookie(cookieStr, cb)
// Convert the cookie string into Map object
obj2str(cookie, cb)
// Convert Parsed Cookie-Object into plain String.
containsKey(cookieStr, key, cb)
// Will return true if the key is in cookie object
// Parsed Object does not need this function. just write cookie.has(key)
findKeysByValue(cookie, value, cb)
// This function will be returned the key if given value is in cookie string.
findValueByKey(cookieStr, key, cb)
// Will return the array of vlues if given key is in cookie string.
// For Object, you can just find the value by simply typing cookie.get(key)
editKey(cookie, Okey, Nkey, cb)
// Changes the key value in the cookie. The value of the original key will disappear.
editValue(cookieStr, key, Nval, cb)
// edits the value referenced by key to a new value
// Parsed Object does not need this function. just write -> cookie.set('key', value)