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

x/frugal/dep/std/http.ts>getCookies

A frugal web framework
Go to Latest
function getCookies
import { getCookies } from "https://deno.land/x/frugal@0.3.0/dep/std/http.ts";

Parse cookies of a header

Parameters

headers: Headers

The headers instance to get cookies from

Returns

Record<string, string>

Object with cookie names as keys