import { HTTP } from "https://deno.land/x/keywork@v6.0.1/mod.ts";
const { isCompressible } = HTTP;
Checks if a given MIME-type is compressible.
MIME type information is provided by the optional
mime-db
package,
which can be quite large when bundled with your application.
Otherwise, the MIME type is assumed to be compressible if text
, json
, or xml
.