A simple library for looking up the MIME types of files.

$ luarocks install mimetypes

This is a simple library for guessing a file's MIME type. It includes
a (hopefully) comprehensive database of MIME types, but it allows you
to create your own should you have specific requirements. It can
guess types both by extension and by the complete filename.


1.0.0-22 years ago241,086 downloads
1.0.0-16 years ago62,547 downloads


lua >= 5.1

Dependency for

Aurora, cloud_storage, cloud_storage, ferron-ssg, kong-lapis, Kosmo, lapis, lua-mastodon, moonmint, octoflow, octopus, pegasus, pegasus, pegasus-mr, video_streaming