CodeBrowser / npm / @hapi/mimos
@hapi/mimos@7.0.1
// Mime database interface
$ npm install @hapi/mimos
downloads/wk
1,429,376
license
BSD-3-Clause
version
7.0.1
published
Feb 11, 2023
What is @hapi/mimos?
@hapi/mimos is a utility for working with MIME types and file extensions, providing a structured interface to a comprehensive MIME type database. Developers use it to reliably map between file extensions and content types, determine whether a MIME type is compressible, and handle character set specifications for different file formats. This is useful when building web servers, file upload handlers, or any system that needs to accurately identify and manage different file types.
Keywords
#mime #database #content-type
Dependencies (2)
Maintainers
nlf, devinivy, wyatt, lloydbenson, cjihrig, marsup