Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias BaseCandidate

    one file of a crawl: its URL, its kind and its plain compressed size

    type BaseCandidate = {
        kind: "style" | "script";
        plain: number;
        url: string;
    }
    Index
    kind: "style" | "script"

    whether the file is a stylesheet or a script

    plain: number

    compressed size of the file alone, with no dictionary, in bytes

    url: string

    the URL the file was crawled from