mimetypes

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.

Versions

1.0.0-3204 days ago5,312 downloads
1.0.0-2208 days ago306,830 downloads
1.0.0-1208 days ago62,592 downloads

Dependencies

lua >= 5.1

Dependency for

Aurora, cloud_storage, cloud_storage, kong-lapis, kong-plugin-google-cloud-functions, kong-plugin-google-logging, Kosmo, lapis, lua-mastodon, moonmint, octoflow, octopus, pegasus, pegasus, pegasus-mr, rest.nvim, rest.nvim, Satelito, video_streaming, yoke

Manifests