valid-mimetype
Validate mimetype strings. This module is for determining whether a string follows the mimetype string format found in IETF RFC 6838.
;vmt.isValidMimeType"application/html+xml"; // ⇒ truevmt.isValidMimeType"application/x-7z-compressed"; // ⇒ truevmt.isValidMimeType"audio/3gpp2"; // ⇒ true
Build & Test
npm run buildnpm test
License
See the LICENSE
file for license information.