mime-types is a comprehensive Node.js module for inferring MIME types from file extensions and vice versa. Its robust database of MIME types ensures accurate content-type detection for web servers, file handling, and more. It allows developers to easily look up related MIME types with extensions and extensions with MIME types, simplifying content delivery and ensuring proper interpretation by browsers and other applications. It's lightweight, dependency-free, and essential for any project working with file formats.
Mime-types package releases were most frequent in 2014-2015, with peaks in December 2014 and June 2015. Release frequency declined significantly after 2015, becoming sporadic with many months without any releases. There were no releases between September 2023 and July 2024. In August 2024, a new major version was released. The version 3.0.1 was released in March of 2025.
Mime-types npm package downloads show a generally increasing trend from February 2024 to July 2025, ranging from ~117 million to ~409 million. Notably, there's a significant jump in downloads during the latter half of the period. August 2025 shows a lower value, but it's an incomplete month.