js-cookie-remove-all

1.0.3 • Public • Published

js-cookie-remove-all

Build Status npm

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);

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i js-cookie-remove-all

    Weekly Downloads

    35

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.58 kB

    Total Files

    6

    Last publish

    Collaborators

    • luanpotter