Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/astro_compress/dist/lib/parse.d.ts>default

🗜️ AstroJS compression utilities. Compress CSS, HTML, JavaScript and more.
Go to Latest
variable default
import { default } from "https://deno.land/x/astro_compress@v1.0.1/dist/lib/parse.d.ts";

It takes a glob, a debug level, a type, a write function, and a read function, and then it compresses all the files that match the glob using the write function, and then it logs the results to the console using the debug level

type

(
glob: string,
debug?: number,
type?: string,
write?: (data: string) => any,
read?: (file: string) => any,
) => Promise<void>