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

x/another_cookiejar/mod.ts>CookieJar#getCookie

https://deno.land/x/another_cookiejar
Go to Latest
method CookieJar.prototype.getCookie
Re-export
import { CookieJar } from "https://deno.land/x/another_cookiejar@v5.0.2/mod.ts";

Gets the first cooking matching the defined properties of a given Cookie or CookieOptions. returns undefined if not found or expired. creationDate prop is not checked. Also removes the cookie and returns undefined if cookie is expired.

Returns

Cookie | undefined