import { etag } from "https://deno.land/x/oak@v10.6.0/mod.ts";
const { calculate } = etag;
Calculate an ETag value for an entity. If the entity is FileInfo
, then the
tag will default to a weak ETag. options.weak
overrides any default
behavior in generating the tag.