Search results

45 packages found

Get the mime type of a stream

published version 2.0.0, 2 years ago22 dependents licensed under $MIT
245,652

Utility to parse mime type from a file content

published version 0.4.7, 13 days ago6 dependents licensed under $MIT
41,785

Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.

published version 3.0.0, 2 years ago0 dependents licensed under $MIT
14,723

Utility function checking if string is mime type from allowed range

published version 1.0.5, 6 years ago2 dependents licensed under $MIT
4,495

Get mimetype from base64-encoded images

published version 1.0.2, 4 years ago4 dependents licensed under $ISC
5,117

Detect mime type and encoding (aka Content-Type) from buffer, file content and filename.

published version 1.3.0, 5 months ago9 dependents licensed under $BSD-2-Clause
4,532

Convert a mime type to a file extension. It works only with popular mime types and it's super lightweight.

published version 2.0.1, 5 months ago9 dependents licensed under $MIT
3,187

A simple wrapper over file command available in Linux systems.

published version 1.0.1, 2 months ago1 dependents licensed under $MIT
888

Check all the available MIME types of a extension

published version 2.0.0, 5 years ago0 dependents licensed under $MIT
1,178

npm package for generating its file-type on basis of magic numbers!!

published version 1.0.20, 6 months ago0 dependents licensed under $ISC
761

This is a library for mime types. It provides an ESM and CJS build.

published version 1.1.0, 2 years ago2 dependents licensed under $MIT
579

A mime-db equivalent to serve data for each entry separately over CDN. Enables small, selective download for any given query.

published version 4.0.1-1.54.0, 21 days ago0 dependents licensed under $MIT
566

File extensions and media types, grouped by application and type. Useful when you need to process or restrict processing to certain types of files.

published version 0.2.0, 4 years ago0 dependents licensed under $MIT
704

Utility function checking if string is mime type from allowed range

published version 1.0.6, 9 months ago1 dependents licensed under $MIT
426

A tiny, lightweight JavaScript API to query mime-db (Media-type / MIME-type database).

published version 2.1.1, 8 days ago0 dependents licensed under $MIT
355

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

published version 0.1.54, 8 months ago0 dependents licensed under $MIT
294

Collect IANA media types for you

published version 0.1.41, 2 days ago0 dependents licensed under $MIT
287

Guess the content type of a request body.

published version 1.0.4, 8 years ago2 dependents licensed under $MIT
250

You got a filename/foldername we got all its info: icon, category, type, extensions, mime type, color, and more...

published version 1.3.5, 12 days ago0 dependents licensed under $MIT
81

Browser Compatible MIME Toolkit

published version 0.0.5, 2 years ago0 dependents licensed under $MIT
97