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

x/another_cookiejar/CookieJar.ts>CookieJar#removeCookies

https://deno.land/x/another_cookiejar
Go to Latest
method CookieJar.prototype.removeCookies
import { CookieJar } from "https://deno.land/x/another_cookiejar@v2.2.1/CookieJar.ts";

Removes all cookies that matches the given option. If options is not given, all cookies will be deleted.

Returns the deleted cookies if found or undefined otherwise.

Parameters

optional
options: CookieOptions | Cookie

Returns

Array<Cookie> | undefined