Search results

1000+ packages found

The ultimate javascript content-type utility.

published version 3.0.1, 2 days ago8610 dependents licensed under $MIT
281,493,878

Media Type Database

published version 1.54.0, 10 days ago2209 dependents licensed under $MIT
317,246,785

A comprehensive library for mime-type mapping

published version 4.0.6, 3 months ago8793 dependents licensed under $MIT
311,992,251

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

published version 20.4.1, 15 days ago2332 dependents licensed under $MIT
98,300,824

Compressible Content-Type / mime checking

published version 2.0.18, 5 years ago1064 dependents licensed under $MIT
89,700,325

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

published version 2.0.1, a month ago162 dependents licensed under $MIT
53,606,104

Get the file extension and MIME type from a file

published version 5.0.0, 8 years ago77 dependents licensed under $MIT
16,155,251

List of known file extensions and their MIME types

published version 4.0.0, 8 years ago20 dependents licensed under $MIT
16,140,634

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

published version 2.1.0, 17 days ago58 dependents licensed under $MIT
13,648,958

Detect the archive type of a Buffer/Uint8Array

published version 4.0.0, 8 years ago47 dependents licensed under $MIT
8,878,178

Encode and decode quoted-printable strings according to rfc2045

published version 2.1.1, 4 months ago24 dependents licensed under $MIT
7,425,307

Encode and decode base64 encoded strings

published version 1.3.0, a year ago22 dependents licensed under $MIT
7,435,678

Mime database interface

published version 7.0.1, 2 years ago7 dependents licensed under $BSD-3-Clause
3,695,623

Detect the archive type of a Buffer/Uint8Array

published version 7.0.0, a year ago1 dependents licensed under $MIT
2,905,048

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

published version 2.0.2, a month ago15 dependents licensed under $Apache-2.0
4,119,968

Predicate that returns true if base64 string.

published version 1.1.0, 5 years ago876 dependents licensed under $MIT
2,674,697

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

published version 1.0.2, 9 years ago29 dependents licensed under $ISC
1,208,855

A simple Mime type getter

published version 2.0.2, 4 years ago8 dependents licensed under $MIT
992,068

parse a data uri into mime type and buffer

published version 0.2.0, 11 years ago26 dependents licensed under $ISC
1,132,028

Detect Filetype by bytes

published version 1.10.0, a year ago64 dependents licensed under $MIT
1,006,446