Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/filetype.ts

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/filetype.ts";

Functions to get file types in different fashions.

Functions

Returns the corresponding file extensions for the given type, where the type is a MIME type or a UTI (Uniform Type Identifier) name.

Returns the corresponding MIME type for the given type, where the type is a file extension or a UTI (Uniform Type Identifier) name.

Returns the corresponding UTI (Uniform Type Identifier) for the given type, where the type is a file extension or a MIME type name.