cookies.js

Simple cookie manipulation on the front-end

CDN Documentation Github Hire me
// Set the cookies
cookies({ token: '42' });

// Get a cookie
var token = cookies('token');

// Remove the cookie
cookies({ token: null });