Module in progress, expect hickups.
Install the package via GitHub with npm install https://github.com/joduplessis/Cookied.git
or yarn add https://github.com/joduplessis/Cookied.git
.
This example assumes ES6 usage.
import { Cookied } from 'cookied';
// Instantiate the class
const cookied = new Cookied();
cookied.setCookie("COOKIED", "NICE");
cookied.getCookie("COOKIED");
cookied.deleteCookie("COOKIED");