-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Labels
Description
It doesn't work in browser environment. Or at least explain how to deploy it in a browser env. In your docs you write:

So it is pretty natural to assume that in a browser it should be the same, since you do not provide any other info about how to run it in a browser:
const Cookies = require('cookies-js')(window);
window.Cookies = Cookies;
But the result is
Cookies === undefined.
How does it work in a browser?