js-cookie-remove-all
v1.0.3
Published
A simple patch to js-cookie lib that adds a function to remove all cookies
Downloads
99
Readme
js-cookie-remove-all
This is a lib that patches js-cookie to add a useful removeAll
function that removes all the cookies accessible from the page.
Just drop into package.json
npm install --save js-cookie-remove-all
and require it:
var Cookies = require('js-cookie-remove-all');
// ...
Cookies.removeAll(attributes);