https://github.com/alphafantomu/mime-db
port of nodejs mime-db in lua
https://github.com/alphafantomu/mime-db
Last synced: 11 months ago
JSON representation
port of nodejs mime-db in lua
- Host: GitHub
- URL: https://github.com/alphafantomu/mime-db
- Owner: alphafantomu
- License: mit
- Created: 2022-03-08T03:42:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-10T08:52:26.000Z (over 4 years ago)
- Last Synced: 2025-02-21T13:25:19.238Z (over 1 year ago)
- Language: Lua
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mime-db
port of nodejs mime-db in lua
## Installation
- Make sure you have [luvit](https://luvit.io/install.html) installed
- Run the command `lit install alphafantomu/mime-db`
- `require('mime-db')` to reference the library
- There is no [LuaRocks](https://luarocks.org/) release, but only `init.lua` is necessary to use the library.
## Documentation
As of v0.0.2 there is no API or major processing in this package. [/scripts](/scripts) has a script to rewrite [db.json](https://raw.githubusercontent.com/jshttp/mime-db/master/db.json) into a lua file if the repository is outdated. No building capabilities or scripts currently.
## License
This project has an [MIT license](/LICENSE)
## Contact
- Discord: `Arivistraliavatoriar#2678`