Remix Utils - v9.3.1
    Preparing search index...
    • Given an accept header like text/html, application/json;q=0.9 it will parse it and return an array of object with the mime-type, subtype and params of each media type.

      Parameters

      • header: string

        The Accept header value

      Returns { params: any; subtype: string | undefined; type: string | undefined }[]

      An array of objects with the type, subtype and params of each media type