@gemini-tools/mime
v0.0.0
Published
> TODO: description
Downloads
101
Readme
@gemini-tools/mime
A thin wrapper around the default mime package that additionally handles Gemini specific file formats.
Usage
The exported GeminiMime object has the exact same API as the mime package.
const {GeminiMime} = require('gemini-tools/mime');
GeminiMime.getType("gemini://example.com/foo.gmi") // text/gemtext
GeminiMime.getExtension('text/gemtext') // gmi