Skip to main content
variable serializeCookie
import { serializeCookie } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Serialize a cookie name-value pair into a Set-Cookie header string.

Use template literals and encodeURIComponent() to create the appropriate string.

type

(name: string, val: string) => unknown