port of nodejs mime-db in lua
-
Make sure you have luvit installed
-
Run the command
lit install alphafantomu/mime-db
-
require('mime-db')
to reference the library -
There is no LuaRocks release, but only
init.lua
is necessary to use the library.
As of v0.0.2 there is no API or major processing in this package. /scripts has a script to rewrite db.json into a lua file if the repository is outdated. No building capabilities or scripts currently.
This project has an MIT license
- Discord:
Arivistraliavatoriar#2678