Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function delCookie
import { delCookie } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/http/cookie.ts";

Set the cookie header properly in the Response to delete it

Parameters

Server Response

name: string

Name of the cookie to Delete Example:

delCookie(res,'foo');