Setu-TS
    Preparing search index...

    Function contentTypeFor

    • Returns the content type for a file based on its extension.

      Parameters

      • path: string

        The file path

      Returns string

      The content type, or 'application/octet-stream' if unknown

      0.1.0