This week I have published a JavaScript module for converting Browser cookies to an Object/Dictionary.

Check the documentation for detailed getting started and usage instructions, the source code is available on GitHub, and a live demo is hosted by GitHub Pages.

Example Usage

const cookies = objectifyCookies(true);
console.log(cookies['key_name']);