Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
stream-mime-type
Get the mime type of a stream
file-type-mime
Utility to parse mime type from a file content
mime-matcher
Utility function checking if string is mime type from allowed range
validate-image-type
Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.
base64-image-mime
Get mimetype from base64-encoded images
mime-detect
Detect mime type and encoding (aka Content-Type) from buffer, file content and filename.
get-typeandmime
npm package for generating its file-type on basis of magic numbers!!
mime2ext
Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.
mime-explorer
This is a library for mime types. It provides an ESM and CJS build.
mime-type-check
Check all the available MIME types of a extension
@signageos/file
A simple wrapper over file command available in Linux systems.
react-doc-render
react-doc-render is a lightweight React library for rendering documents of various popular MIME types directly in the browser. It supports PDFs, images, text, Microsoft Office documents, audio, video, and ZIP archives. This library provides a unified inte
@livebuzzevents/mime-matcher
Utility function checking if string is mime type from allowed range
content-check
Guess the content type of a request body.
iana-media-type
Collect IANA media types for you
auto-media-type
Complete any missing media type for you
mimeish
Browser Compatible MIME Toolkit
omni-file
You got a filename/foldername we got all its info: icon, category, type, extensions, mime type, color, and more...
file-groups
File extensions and media types, grouped by application and type. Useful when you need to process or restrict processing to certain types of files.
just-mime
A simple way to retrieve a mime-type from an extension