@types/mime-db
- Version 1.43.6
- Published
- 5.6 kB
- No dependencies
- MIT license
Install
npm i @types/mime-dbyarn add @types/mime-dbpnpm add @types/mime-dbOverview
TypeScript definitions for mime-db
Index
Variables
Interfaces
Type Aliases
Variables
variable database
const database: database.MimeDatabase;Interfaces
interface MimeDatabase
interface MimeDatabase {}index signature
readonly [type: string]: MimeEntry;interface MimeEntry
interface MimeEntry {}property charset
readonly charset?: string | undefined;The default charset associated with this type, if any.
property compressible
readonly compressible?: boolean | undefined;Whether a file of this type can be gzipped.
property extensions
readonly extensions?: readonly string[] | undefined;Known extensions associated with this mime type.
property source
readonly source?: MimeSource | undefined;Where the mime type is defined. If not set, it's probably a custom media type.
Type Aliases
type MimeSource
type MimeSource = 'iana' | 'apache' | 'nginx';Sources: http://www.iana.org/assignments/media-types/media-types.xhtml http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types http://hg.nginx.org/nginx/raw-file/default/conf/mime.types
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/mime-db.
- Markdown[](https://www.jsdocs.io/package/@types/mime-db)
- HTML<a href="https://www.jsdocs.io/package/@types/mime-db"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2516 ms. - Missing or incorrect documentation? Open an issue for this package.
