2.1.4 • Published 2 years ago

@types/mime-types v2.1.4

Weekly downloads
659,958
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/mime-types

Summary

This package contains type definitions for mime-types (https://github.com/jshttp/mime-types#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types.

index.d.ts

// Type definitions for mime-types 2.1
// Project: https://github.com/jshttp/mime-types#readme
// Definitions by: Gyusun Yeom <https://github.com/Perlmint>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export function lookup(filenameOrExt: string): string | false;
export function contentType(filenameOrExt: string): string | false;
export function extension(typeString: string): string | false;
export function charset(typeString: string): string | false;
export namespace charsets {
    const lookup: typeof charset;
}
export const types: {[key: string]: string};
export const extensions: {[key: string]: string[]};

Additional Details

  • Last updated: Mon, 16 Aug 2021 19:31:26 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Gyusun Yeom.

web3stash-test@wap/cliilottie@mcgordonite/theia-filesystem@easyboot/coreawesome-validatorfs-classes@xornot/sparrowblockstor-testweb3store-test@everything-registry/sub-chunk-952eyepop-preeyepophalem-testglpi-api-clientwiznote-sdk-jswaft-url-loaderweb3stashweb3stash-test1webcheck-mirrorxiomi-leto-messaging@buncho/webpack-confighttp-microhttp-request-handlerhtmlgrabrhttp-header-helperhttp2-hookshppuppeteerhalemintelliprove-streaming-sdklynx-frameworkmedia-finder-climail-export@wiptheia/mini-browser@twilio-labs/serverless-api@trywavesio/helpers@typesafe-validator/formidable-file@tlaukkan/aframe-dataspace@tkrjs/server@theia/mini-browser@tf-cdk/template-directory@trayio/commons@usertour/utils@varius.io/providers@tenda.digital/webarchiver@tensei/field-json@tensei/media@zoovu/exd-scriptsactionsflow-coreaframe-typescript-boilerplateadoscopejsaudio-trainingapachejs@atomist/sdm-pack-s3@grace-studio/graceful-next@atomist/docs-sdm@atticusofsparta/arfs-lite-client@axiona/http-server@abramstyle/deploy-tools@affinity-lab/util@cmra/server@easy-node/server@edde-js/ssr@edde-js/sss@egodigital/egoose@aex/core@composerjs/virtual-file@coolgk/emaile-wikivite-plugin-gj-ts-packsintelliprove-sdkintelliprove-sdk-esmultra-tool@bubblewrap/cli@bubblewrap/core@brevity-builder/cliyggyyotakoxrenginezhique-drawerupdate-existing-releaseurgot@fritter/core@fritter/static@kosmic/koa@longjs/core@litemotion/libware@newcoin-foundation/iosdk@newstackdev/iosdk@nfps.dev/cli@ngageoint/mage.service@nelts/nelts@nelts/utils@narwhal/data-engine-core@mindverse/upload-packaged-files@mk2012/sveltekit-adapter-lambda@mo36924/rollup-plugin-cache@modelnest/cli@qured/common@puckjs/utils
2.1.2

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.1

4 years ago

2.1.0

9 years ago