1.0.3 • Published 6 years ago
js-cookie-remove-all v1.0.3
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);