Parses a cookie string and returns an object containing the key-value cookie pairs.
The cookie string to parse.
Returns an object where the keys are cookie names and the values are cookie values.
parseCookieString('name=John Doe; age=30; city=New York')// => { name: 'John Doe', age: '30', city: 'New York' } Copy
parseCookieString('name=John Doe; age=30; city=New York')// => { name: 'John Doe', age: '30', city: 'New York' }
Parses a cookie string and returns an object containing the key-value cookie pairs.