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.1.0-2157 days ago17,999 downloads dev-1dev157 days ago(revision: 3
)57 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,
lua-moongo,
moonmint,
Nchan,
octoflow,
octopus,
paged-markdown-3-pdf,
pegasus,
pegasus,
pegasus-mr,
pmd3.nvim,
rest.nvim,
rest.nvim,
Satelito,
video_streaming,
yokeManifests