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

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

A frugal web framework
Go to Latest
function getCookies
import { getCookies } from "https://deno.land/x/frugal@0.5.0/docs/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