Search results

1000+ packages found

The ultimate javascript content-type utility.

published version 3.0.1, 4 months ago8848 dependents licensed under $MIT
397,516,996

Media Type Database

published version 1.54.0, 4 months ago2062 dependents licensed under $MIT
432,978,133

A comprehensive library for mime-type mapping

published version 4.0.7, 4 months ago8671 dependents licensed under $MIT
371,321,309

Detect the file type of a file, stream, or data

published version 21.0.0, 2 months ago2440 dependents licensed under $MIT
119,831,120

Compressible Content-Type / mime checking

published version 2.0.18, 6 years ago966 dependents licensed under $MIT
103,619,342

A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename

published version 2.0.1, 5 months ago169 dependents licensed under $MIT
58,773,092

Get the file extension and MIME type from a file

published version 5.0.0, 8 years ago78 dependents licensed under $MIT
17,766,237

List of known file extensions and their MIME types

published version 4.0.0, 8 years ago19 dependents licensed under $MIT
17,362,289

Create a full Content-Type header given a MIME type or extension and cache the result

published version 2.1.0, 4 months ago59 dependents licensed under $MIT
14,627,758

Detect the archive type of a Buffer/Uint8Array

published version 4.0.0, 8 years ago47 dependents licensed under $MIT
9,219,990

Encode and decode base64 encoded strings

published version 1.3.0, a year ago24 dependents licensed under $MIT
8,014,780

Encode and decode quoted-printable strings according to rfc2045

published version 2.1.1, 8 months ago26 dependents licensed under $MIT
7,919,883

Detect the archive type of a Buffer/Uint8Array

published version 7.0.0, a year ago1 dependents licensed under $MIT
5,197,847

Mime database interface

published version 7.0.1, 2 years ago6 dependents licensed under $BSD-3-Clause
3,987,523

Database to mime-format based on content-type header and content

published version 2.0.2, 5 months ago15 dependents licensed under $Apache-2.0
4,326,837

A simple function to check whether a mimetype matches the specified mimetype (with wildcard support)

published version 1.0.2, 9 years ago31 dependents licensed under $ISC
1,286,456

Predicate that returns true if base64 string.

published version 1.1.0, 5 years ago855 dependents licensed under $MIT
1,937,325

Detect Filetype by bytes

published version 1.12.1, 3 months ago73 dependents licensed under $MIT
1,353,494

A simple Mime type getter

published version 2.0.2, 4 years ago8 dependents licensed under $MIT
1,236,322

parse a data uri into mime type and buffer

published version 0.2.0, 11 years ago26 dependents licensed under $ISC
957,604