Module: lightcookie

Super lightweight cookie parser and serializer
Source:

Methods

(static) parse(cookieString) → {Object}

Parse a cookie string
Parameters:
Name Type Description
cookieString string A cookie string
Source:
Returns:
Interpreted cookie data as an Object
Type
Object

(static) serialize(cookieData) → {string}

Serialize an object to cookie format
Parameters:
Name Type Description
cookieData Object Object to serialize to cookie string
Source:
Returns:
Cookie string
Type
string