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

x/live/utils/segment.ts>segmentFor

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable segmentFor
import { segmentFor } from "https://deno.land/x/live@1.53.8/utils/segment.ts";

Calculates the etag for the current request.

type

(state: Partial<RequestState>, url: string) => Promise<string>