Search results
45 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Get the mime type of a stream
Utility to parse mime type from a file content
Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.
Utility function checking if string is mime type from allowed range
Get mimetype from base64-encoded images
Detect mime type and encoding (aka Content-Type) from buffer, file content and filename.
Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.
A simple wrapper over file command available in Linux systems.
Check all the available MIME types of a extension
npm package for generating its file-type on basis of magic numbers!!
This is a library for mime types. It provides an ESM and CJS build.
A mime-db equivalent to serve data for each entry separately over CDN. Enables small, selective download for any given query.
- mime
- types
- mime-db
- cdn
- browser
- frontend
- dynamic-import
- media-type
- mime-type
- file-extension
- file-type
- extensions
- database
File extensions and media types, grouped by application and type. Useful when you need to process or restrict processing to certain types of files.
Utility function checking if string is mime type from allowed range
A tiny, lightweight JavaScript API to query mime-db (Media-type / MIME-type database).
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
- archive
- audio
- audio-player
- bmp
- browser
- content-type
- cross-platform
- csv
- customizable
- doc-render
- document-rendering
- document-viewer
- docx
- excel
- View more
Collect IANA media types for you
- mime-type
- media-type
- content-type
- file-format
- file-type
- identify-file-type
- data-type
- medium-type
- iana
- rfc
- json
Guess the content type of a request body.
You got a filename/foldername we got all its info: icon, category, type, extensions, mime type, color, and more...
- file
- extension
- language
- icon
- mime
- type
- linguist
- github
- detection
- identifier
- file-type
- file-extension
- programming-language
- file-icon
- View more
Browser Compatible MIME Toolkit