{"library":"mime-format","type":"library","category":null,"description":"The `mime-format` library provides a utility for disambiguating the base format of HTTP response bodies based on their `Content-Type` header. It aims to resolve ambiguities, especially between `text/*` and `application/*` types, by maintaining an internal database of textual content types served under `application/*` (e.g., `application/json` is classified as `text`). The current stable version is 2.0.2, with releases appearing to be on an as-needed basis, indicated by the significant gap between v0.2.0 and v2.0.0. Key differentiators include its explicit handling of `application/*` types that are textual in nature, and its ability to guess or mark content types as unknown if they are not in its database, providing granular control over content interpretation.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","postman","http-code","mime","content-type"],"install":[{"cmd":"npm install mime-format","imports":["import mimeFormat from 'mime-format';","const mimeFormat = require('mime-format');","import mimeFormat from 'mime-format'; mimeFormat.lookup('application/json');"]},{"cmd":"yarn add mime-format","imports":[]},{"cmd":"pnpm add mime-format","imports":[]}],"homepage":null,"github":"https://github.com/postmanlabs/mime-format","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mime-format","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/mime-format/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}