mimerl

library to handle mimetypes

Latest version: 1.4.0 registry icon
Maintenance score
2
Safety score
100
Popularity score
70
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
1.4.0 0 0 0 0 0
1.3.0 0 0 0 0 0
1.2.0 0 0 0 0 0
1.1.0 0 0 0 0 0
1.0.2 0 0 0 0 0
1.0.1 0 0 0 0 0
1.0.0 0 0 0 0 0

Stability
Latest release:

1.4.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



mimerl

library to handle mimetypes

Present a way to parse IANA mediatype as defined here: http://www.iana.org/assignments/media-types/media-types.xhtml

Build

$ make

Example of usage:

1> mimerl:extension(<<"c">>).
<<"text/x-c">>
2> mimerl:filename(<<"test.cpp">>).
<<"text/x-c">>
3> mimerl:mime_to_exts(<<"text/plain">>).
[<<"txt">>,<<"text">>,<<"conf">>,<<"def">>,<<"list">>,
 <<"log">>,<<"in">>]