npm

@nathanfaucett/cookies

0.0.2 • Public • Published

cookies

get/set/remove cookies for the browser

var cookies = require("@nathanfaucett/cookies");


cookies.set("key", "value");
cookies.get("key") === "value";

cookies.has("key") === true;
cookies.has("value") === false;

cookies.keys() === ["key"];
cookies.remove("key");

Readme

Keywords

Package Sidebar

Install

npm i @nathanfaucett/cookies

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • nathanfaucett