MIME Types: Introduce a simple command-line interface that allows users to quickly determine the MIME type of a file by running mime path/to/file. This provides a more accurate result compared to traditional methods.
MIME Types: Add support for the 'text/yaml' MIME type, including the .YML file extension, enhancing compatibility with YAML files.
Improvements
MIME Types: Improve the accuracy of MIME types by fetching the latest mime.types file directly from Apache, ensuring users always have access to the most current types.
MIME Types: Enhance support for WOFF2 fonts by returning 'application/font-woff2', which is widely used in web development.
MIME Types: Ensure that XML Schema Definition files (*.xsd) return the correct MIME type of 'application/xml', improving file handling.
MIME Types: Add source maps as 'application/json', aligning with current web standards and improving compatibility with modern tools.
MIME Types: Bind global methods to the module, allowing users to access specific methods more conveniently without needing to reference the entire module.
Fixes
Fix a typo in the codebase, enhancing clarity and maintainability.
Fix the license field in package.json to comply with current standards, ensuring proper licensing information is provided.
Resolve the issue of missing test script in package.json, allowing contributors to easily run tests using 'npm test'.
Others
Update the README file to include code highlighting, making it easier for users to read and understand the documentation.