Skip to main content
Deno 2 is finally here 🎉️
Learn more

Cookie.js

Simple cookie parser module, for deno, Node.js and the browser.

Example

import { parse, serialize } from "@weredime/cookie";

const cookie = parse("foo=bar;");

console.log(cookie.foo); // bar

console.log(serialize("foo", "bar")) // foo=bar;