Skip to content
On this page

Home > entanclature > GRAMMAR

GRAMMAR variable

The relationship between MIME Type, Mark and Ext.

Signature:

typescript
GRAMMAR: {
    readonly A: {
        readonly type: "image/avif";
        readonly ext: readonly ["avif"];
    };
    readonly G: {
        readonly type: "image/gif";
        readonly ext: readonly ["gif"];
    };
    readonly J: {
        readonly type: "image/jpeg";
        readonly ext: readonly ["jpeg", "jpg"];
    };
    readonly P: {
        readonly type: "image/png";
        readonly ext: readonly ["png"];
    };
    readonly T: {
        readonly type: "image/tiff";
        readonly ext: readonly ["tiff", "tif"];
    };
    readonly W: {
        readonly type: "image/webp";
        readonly ext: readonly ["webp"];
    };
}

Released under the CC-BY-SA-4.0 License.