@types/mime-types

  • Version 2.1.0
  • Published
  • No dependencies
  • MIT license

Install

npm i @types/mime-types
yarn add @types/mime-types
pnpm add @types/mime-types

Overview

TypeScript definitions for mime-types

Index

Variables

variable extensions

const extensions: { [key: string]: string[] };

    variable types

    const types: { [key: string]: string };

      Functions

      function charset

      charset: (typeString: string) => string | false;

        function contentType

        contentType: (filenameOrExt: string) => string | false;

          function extension

          extension: (typeString: string) => string | false;

            function lookup

            lookup: (filenameOrExt: string) => string | false;

              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 onejsDocs.io badgeto 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-types.

              • Markdown
                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/mime-types)
              • HTML
                <a href="https://www.jsdocs.io/package/@types/mime-types"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>