Options
All
  • Public
  • Public/Protected
  • All
Menu

Javascript SDK for the Filestack API and content management system.



Table of Contents

What's in the box?

  • A multi-part uploader powered on the backend by the Filestack CIN.
  • An interface to the Filestack Processing Engine for transforming assets via URLs.
  • The Filestack Picker - an upload widget for the web that integrates over a dozen cloud providers and provides pre-upload image editing.

Installation

npm install filestack-js

To get your free API key, sign up for a Filestack account here: https://dev.filestack.com/signup/free.

API Documentation

https://filestack.github.io/filestack-js/

Usage

Browsers

ES module

import * as filestack from 'filestack-js';
const client = filestack.init('apikey');

UMD module

<script src="//static.filestackapi.com/filestack-js/{MAJOR_VERSION}.x.x/filestack.min.js" crossorigin="anonymous"></script>
<script>
  const client = filestack.init('apikey');
</script>

where {MAJOR_VERSION} is one of the MAJOR versions of the filestack-js ie:

<script src="//static.filestackapi.com/filestack-js/3.x.x/filestack.min.js" crossorigin="anonymous"></script>
<script>
  const client = filestack.init('apikey');
</script>

SRI

Subresource Integrity (SRI) is a security feature that enables browsers to verify that files they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched file must match

To obtain sri hashes for filestack-js library check manifest.json file on CDN:

https://static.filestackapi.com/filestack-js/{LIBRARY_VERSION}/manifest.json
<script src="//static.filestackapi.com/filestack-js/{LIBRARY_VERSION}/filestack.min.js.gz" integrity="{FILE_HASH}" crossorigin="anonymous"></script>

Where {LIBRARY_VERSION} is currently used library version and {FILE_HASH} is one of the hashes from integrity field in manifest.json file

Node

CommonJS module

const client = require('filestack-js').init('apikey');

Module Overview

The package.json specifies two separate modules:

  • main for the CommonJS module (intended for Node runtimes)
  • browser for the pre-bundled ES module (intended for browser runtimes)

Node projects which depend on filestack-js will follow the main field in package.json. When building for the browser, newer tools (like Webpack, Rollup, and Parcel) follow the browser field, which will resolve to the pre-bundled ES module. Both modules follow the same API, but some methods behave differently based on their runtime. For example, client.upload treats the file argument as a file path in Node but in browsers it assumes a Blob object.

The pre-bundled browser module is also available in UMD format. This is useful if you are using script tags on a web page instead of bundling your application. It can be retrieved from both the Filestack CDN and the unpkg CDN:

Releases Info

Major releases will bo listed (with detailed examples) in releases folder starting from version 3.0.0

Live examples (JSFiddle)

Upload image
Multiupload
Open picker
Open picker in inline mode
Crop images
Multiple drop panes
Preview
Import using RequireJS
Retrieve image data
Transform image
Custom Picker CSS
Assign file to user

Examples can be run locally with:

npm run examples

Picker Quick Start

If you are here to use the picker widget, it can be initialized from the Filestack client by calling client.picker(options). Options for the picker are documented here.

The picker instance returned from client.picker can be controlled with a few methods:

  • open - Create the application and mount it into the DOM based on the displayMode.
  • close - Close the application and remove its resources from the DOM.
  • crop(files) - Create the application, mount it, and pre-select the passed files for cropping.
  • cancel - Cancel all uploads controlled by this instance.

Please see our examples above to learn more about customizing the picker for your use case.

Polyfills

If you target IE11 or iOS before 8.0 you will need to add additional polyfills to your page or application. (We are no longer support IE11 and older browser, so it can stop working on this browser)

Polyfills we recommend:**

Module (for bundling):

Script (for script tag):

Development

Most tests in this library are expected to interface with actual backend services. Because we like to run tests during development, these services are mocked during unit testing.

All tests are using Jest.

To run units:

npm test

Debugging

Filestack-js uses debug, so just run with environmental variable DEBUG set to fs.*.

Node

DEBUG=fs.* node example_upload.js

Browser

Debug's enable state is persisted by localStorage

localStorage.debug = 'fs:*'

And then refresh the page.

Error event

The upload.error event was added to sdk. To obtain every upload request error just add callback to it. Error contains details field with responseBody, responseHeaders, code (only when error type is FilestackErrorType.REQUEST)

<script>
  const client = filestack.init('apikey');
  client.on('upload.error', (filestackError) => {
    console.log(filestackError);
  });
</script>

Upload abort throws an FilestackError with type FilestackErrorType.ABORTED

Sentry Integration

If you're using Sentry to monitor your application, Filestack will automatically report upload errors to Sentry, and tag them with helpful diagnostic information via @sentry/minimal.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Contributing

We follow the conventional commits specification to ensure consistent commit messages and changelog formatting.

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

AlignOptions

AlignOptions: Align | [top | middle | bottom, left | center | right]

Align

InputFile

InputFile: RawFile | NamedInputFile

NamedInputFile

NamedInputFile: { file: RawFile; name?: string }

Type declaration

  • file: RawFile
  • Optional name?: string

PrefetchOptions

PrefetchOptions: { events?: PrefetchEvents[]; permissions?: Array<keyof PrefetchPermissions>; pickerOptions?: PickerOptions; settings?: Array<keyof PrefetchSettings> }

Type declaration

PrefetchPermissions

PrefetchPermissions: { advanced_enhance?: boolean; enhance?: boolean; intelligent_ingestion?: boolean; transforms_ui?: boolean; whitelabel?: boolean }

Type declaration

  • Optional advanced_enhance?: boolean
  • Optional enhance?: boolean
  • Optional intelligent_ingestion?: boolean
  • Optional transforms_ui?: boolean
  • Optional whitelabel?: boolean

PrefetchResponse

PrefetchResponse: { blocked?: boolean | string; permissions?: PrefetchPermissions; pickerOptions: PickerOptions; settings?: PrefetchSettings }

Type declaration

PrefetchSettings

PrefetchSettings: { inapp_browser?: boolean }

Type declaration

  • Optional inapp_browser?: boolean

RawFile

RawFile: Blob | Buffer | File | string

SanitizeOptions

SanitizeOptions: boolean | { exclude?: string[]; replacement?: string }

Sanitizer Options

StoreParams

StoreParams: StoreBaseParams & { base64decode?: boolean; filename?: string }

Available options for store transformations

export
interface

StoreParams

StoreUploadOptions

StoreUploadOptions: StoreBaseParams & { filename?: ((file: File) => string) | string; sanitizer?: SanitizeOptions; workflows?: (string | WorkflowConfig)[] }

StoreUrlParams

StoreUrlParams: { headers?: {}; security?: Security; session: Session; storeParams?: StoreParams; token?: any; uploadTags?: UploadTags; url?: string; workflowIds?: string[] }

Type declaration

  • Optional headers?: {}
    • [key: string]: string
  • Optional security?: Security
  • session: Session
  • Optional storeParams?: StoreParams
  • Optional token?: any
  • Optional uploadTags?: UploadTags
  • Optional url?: string
  • Optional workflowIds?: string[]

Variables

Private Const CALLBACK_URL_KEY

CALLBACK_URL_KEY: "fs-tab" = "fs-tab"

key for picker callback url (specifies which tab will be opened after opening picker)

Const CANCEL_CLEAR

CANCEL_CLEAR: "FsCleanMemory" = `FsCleanMemory`

Const COMPLETE_TIMEOUT

COMPLETE_TIMEOUT: number = 1000 * 1

Const DEFAULT_PART_SIZE

DEFAULT_PART_SIZE: number = 6 * 1024 * 1024

Const DEFAULT_PROGRESS_INTERVAL

DEFAULT_PROGRESS_INTERVAL: 1000 = 1000

Const DEFAULT_STORE_LOCATION

DEFAULT_STORE_LOCATION: "s3" = "s3"

Const HTTPS_REGEXP

HTTPS_REGEXP: RegExp = /https:?/

Const HTTP_CHUNK_SIZE

HTTP_CHUNK_SIZE: number = 16 * 1024

Const INTELLIGENT_CHUNK_SIZE

INTELLIGENT_CHUNK_SIZE: number = 8 * 1024 * 1024

Const INTELLIGENT_MOBILE_CHUNK_SIZE

INTELLIGENT_MOBILE_CHUNK_SIZE: number = 1024 * 1024

JSDOM

JSDOM: any

Const MAX_REDIRECTS

MAX_REDIRECTS: 10 = 10

Const MIN_CHUNK_SIZE

MIN_CHUNK_SIZE: number = 32 * 1024

Const MIN_PART_SIZE

MIN_PART_SIZE: number = 5 * 1024 * 1024

Private Const PICKER_KEY

PICKER_KEY: "__fs_picker_token" = "__fs_picker_token"

Private Const PICKER_VERSION

PICKER_VERSION: "1.24.1" = "1.24.1"

Const RequestAdapter

RequestAdapter: any = require('./adapters/xhr').XhrAdapter

Const base64Gif

base64Gif: "R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" = "R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="

Const base64Png

base64Png: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==" = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="

Const base64Regexp

base64Regexp: RegExp = /data:([a-zA-Z]*\/[a-zA-Z]*);base64,([^\"]*)/i

Const base64Svg

base64Svg: "PHN2ZyBoZWlnaHQ9IjEwMCIgd2lkdGg9IjEwMCI+CiAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMyIgZmlsbD0icmVkIiAvPgogIFNvcnJ5LCB5b3VyIGJyb3dzZXIgZG9lcyBub3Qgc3VwcG9ydCBpbmxpbmUgU1ZHLiAgCjwvc3ZnPiA=" = "PHN2ZyBoZWlnaHQ9IjEwMCIgd2lkdGg9IjEwMCI+CiAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMyIgZmlsbD0icmVkIiAvPgogIFNvcnJ5LCB5b3VyIGJyb3dzZXIgZG9lcyBub3Qgc3VwcG9ydCBpbmxpbmUgU1ZHLiAgCjwvc3ZnPiA="

Const base64SvgWithHeader

base64SvgWithHeader: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEwMCIgd2lkdGg9IjEwMCI+CiAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMyIgZmlsbD0icmVkIiAvPgogIFNvcnJ5LCB5b3VyIGJyb3dzZXIgZG9lcyBub3Qgc3VwcG9ydCBpbmxpbmUgU1ZHLiAgCjwvc3ZnPiA=" = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEwMCIgd2lkdGg9IjEwMCI+CiAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMyIgZmlsbD0icmVkIiAvPgogIFNvcnJ5LCB5b3VyIGJyb3dzZXIgZG9lcyBub3Qgc3VwcG9ydCBpbmxpbmUgU1ZHLiAgCjwvc3ZnPiA="

Const debug

debug: any = Debug('fs:storage')

Const dispatchSpy

dispatchSpy: Mock<Promise<string>, []> = jest.fn(() => Promise.resolve('response'))

Const handleRegexp

handleRegexp: RegExp = /^[\w\-]{20}|wf:\/\/[\w\-\/]{106}$/

Const ignoreDuplicates

ignoreDuplicates: string[] = ['expires','from','host','if-modified-since','if-unmodified-since','age','authorization','content-length','content-type','etag','last-modified','location','max-forwards','proxy-authorization','referer','retry-after','user-agent',]

Const init

init: Filestack = Filestack

Let last

last: any

Returns unique time

Const mobileRegexp

mobileRegexp: RegExp = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i

Const mockAppendChild

mockAppendChild: Mock<any, any> = jest.fn()

Const mockList

mockList: Mock<any, any> = jest.fn().mockName('list').mockImplementation(data => {if (data && data.clouds.token) {return { token: testCloudToken };}return data;})

Const mockLogout

mockLogout: Mock<any, any> = jest.fn().mockName('logout').mockImplementation((url, params) => {if (params.clouds && params.clouds.token) {return { token: testCloudToken };}return params;})

Const mockMetadata

mockMetadata: Mock<any, any> = jest.fn().mockName('metadata').mockReturnValue('metadata')

Const mockStore

mockStore: Mock<any, any> = jest.fn().mockName('store').mockImplementation(params => {if (params && params.clouds && params.clouds.token) {return JSON.stringify({ token: testCloudToken });}return JSON.stringify(params);})

Const mockTokInit

mockTokInit: Mock<any, any> = jest.fn().mockName('tokInit').mockReturnValue('init')

Const mockTokStart

mockTokStart: Mock<any, any> = jest.fn().mockName('tokStart').mockReturnValue('start')

Const mockTokStop

mockTokStop: Mock<any, any> = jest.fn().mockName('tokStop').mockReturnValue('stop')

Const mockedTestFile

mockedTestFile: Buffer = Buffer.from('text text')

Const sanitizeOptions

sanitizeOptions: Mock<any, any> = jest.fn().mockName('sanitizeOptions')

Let scope

scope: any = nock(testURL.uploadApiUrl)

Const sessionURls

sessionURls: { cdnUrl: string; cloudApiUrl: string; fileApiUrl: string; pickerUrl: string; processUrl: string; uploadApiUrl: string } = config.urls

Type declaration

  • cdnUrl: string
  • cloudApiUrl: string
  • fileApiUrl: string
  • pickerUrl: string
  • processUrl: string
  • uploadApiUrl: string

Const testApiKey

testApiKey: "AHv2222222222444444uez" = "AHv2222222222444444uez"

Const testCloudToken

testCloudToken: "testCloudToken" = "testCloudToken"

Const testTokArchiveId

testTokArchiveId: "ARCHIVE_ID" = "ARCHIVE_ID"

Const testTokSession

testTokSession: "TOK_SESSION" = "TOK_SESSION"

Const v

v: Validator = new Validator()

Const version

version: "@{VERSION}" = "@{VERSION}"

filestack-js version. Interpolated at build time.

Functions

Const Filestack

Const adaptersHttpAbstract

  • adaptersHttpAbstract(adapter: any, adapterName: string): void

Const b64

  • b64(data: string, safeUrl?: boolean): string
  • b64(data: string, safeUrl?: boolean): string
  • return based string return based string

    Parameters

    • data: string
    • Default value safeUrl: boolean = false

    Returns string

  • return based string return based string

    Parameters

    • data: string
    • Default value safeUrl: boolean = false

    Returns string

Private Const b64toBlob

  • b64toBlob(b64Data: string, sliceSize?: number): Blob
  • Convert encoded base64 string or dataURI to blob

    Parameters

    • b64Data: string
    • Default value sliceSize: number = 512

      Byte quantity to split data into

    Returns Blob

bufferToString

  • bufferToString(buffer: any): string

Const cleanUpCallbacks

  • cleanUpCallbacks(obj: any): any

Const combineURL

  • combineURL(url: any, params: any): any

Const createFile

  • createFile(size?: number, name?: string, type?: string): File

Const download

Const extensionToMime

  • extensionToMime(ext: string): string
  • Change extension to according mimetype using ext=>mimetype map

    Parameters

    • ext: string

      string

    Returns string

    string|boolean

Const filestackHeaders

Const filterObject

  • filterObject(toFilter: any, requiredFields: string[]): any
  • Filter object to given fields

    Parameters

    • toFilter: any
    • requiredFields: string[]

    Returns any

fixProto

  • fixProto(target: Error, prototype: {}): void

Const getFile

Const getMimetype

  • getMimetype(file: Uint8Array | Buffer, name?: string): string
  • Check if input is a svg

    Parameters

    • file: Uint8Array | Buffer
    • Optional name: string

    Returns string

    • mimetype

Const getSecurity

  • Returns Filestack base64 policy and HMAC-SHA256 signature

    Example

    import * as filestack from 'filestack-js';
    
    const jsonPolicy = { 'expiry': 253381964415 };
    const security = filestack.getSecurity(jsonPolicy, '<YOUR_APP_SECRET>');

    Parameters

    Returns Security

  • Returns Filestack base64 policy and HMAC-SHA256 signature

    Example

    import * as filestack from 'filestack-js';
    
    const jsonPolicy = { 'expiry': 253381964415 };
    const security = filestack.getSecurity(jsonPolicy, '<YOUR_APP_SECRET>');

    Parameters

    Returns Security

Private Const getUrl

  • getUrl(session: Session, handle: string, opts?: any, security?: Security): string

Const getValidator

  • getValidator(schema: any): (Anonymous function)

Const getVersion

  • getVersion(): string
  • getVersion(): string

Const isArray

  • isArray(val: any[]): boolean
  • Determine if a value is an Array

    Parameters

    • val: any[]

      The value to test

    Returns boolean

    True if value is an Array, otherwise false

Const isArrayBuffer

  • isArrayBuffer(val: ArrayBuffer): boolean
  • Determine if a value is an ArrayBuffer

    Parameters

    • val: ArrayBuffer

      The value to test

    Returns boolean

    True if value is an ArrayBuffer, otherwise false

Const isArrayBufferView

  • isArrayBufferView(val: ArrayBufferView): any
  • Determine if a value is a view on an ArrayBuffer

    Parameters

    • val: ArrayBufferView

      The value to test

    Returns any

    True if value is a view on an ArrayBuffer, otherwise false

Const isBlob

  • isBlob(val: Blob): boolean
  • Determine if a value is a Blob

    Parameters

    • val: Blob

      The value to test

    Returns boolean

    True if value is a Blob, otherwise false

Const isBuffer

  • isBuffer(val: any): boolean
  • isBuffer(): boolean
  • Determine if a value is a Buffer Determine if a value is a Buffer

    Parameters

    • val: any

      The value to test

    Returns boolean

    True if value is a Buffer, otherwise false

  • Determine if a value is a Buffer Determine if a value is a Buffer

    Returns boolean

    True if value is a Buffer, otherwise false

Const isFacebook

  • isFacebook(): boolean
  • isFacebook(): boolean
  • Check if application is runned in facebook browser Check if application is runned in facebook browser

    Returns boolean

  • Check if application is runned in facebook browser Check if application is runned in facebook browser

    Returns boolean

Const isFile

  • isFile(val: File): boolean
  • Determine if a value is a File

    Parameters

    • val: File

      The value to test

    Returns boolean

    True if value is a File, otherwise false

Const isFileBase

  • isFileBase(input: InputFile): input is string
  • isFileBase(input: InputFile): input is string

Const isFileBlob

Const isFileBrowser

  • isFileBrowser(input: InputFile): input is File

Const isFileBuffer

  • isFileBuffer(input: InputFile): input is Buffer

Const isFileNamed

  • isFileNamed(input: InputFile): input is NamedInputFile
  • isFileNamed(input: InputFile): input is NamedInputFile

Const isFilePath

  • isFilePath(input: InputFile): input is string

Const isFormData

  • isFormData(val: any): boolean

Const isMobile

  • isMobile(): boolean
  • isMobile(): boolean
  • Returns if browser is a mobile device (if node env always return false) Returns if browser is a mobile device (if node env always return false)

    Returns boolean

  • Returns if browser is a mobile device (if node env always return false) Returns if browser is a mobile device (if node env always return false)

    Returns boolean

Const isObject

  • isObject(val: any): boolean
  • Determine if a value is an Object

    Parameters

    • val: any

      The value to test

    Returns boolean

    True if value is an Object, otherwise false

Const isStream

  • isStream(val: any): boolean
  • isStream(): boolean
  • Determine if a value is a Stream Determine if a value is a Stream

    Parameters

    • val: any

      The value to test

    Returns boolean

    True if value is a Stream, otherwise false

  • Determine if a value is a Stream Determine if a value is a Stream

    Returns boolean

    True if value is a Stream, otherwise false

Const isString

  • isString(val: any): boolean
  • Determine if a value is an Object

    Parameters

    • val: any

      The value to test

    Returns boolean

    True if value is an Object, otherwise false

Const isURLSearchParams

  • isURLSearchParams(val: URLSearchParams): boolean
  • Determine if a value is a URLSearchParams object

    Parameters

    • val: URLSearchParams

      The value to test

    Returns boolean

    True if value is a URLSearchParams object, otherwise false

Private Const md5

  • md5(data: any): string
  • md5(data: any): string
  • Calculates a MD5 checksum for passed buffer Calculates a MD5 checksum for passed buffer

    Parameters

    • data: any

      Data to be hashed

    Returns string

    base64 encoded MD5 hash

  • Calculates a MD5 checksum for passed buffer Calculates a MD5 checksum for passed buffer

    Parameters

    • data: any

      Data to be hashed

    Returns string

    base64 encoded MD5 hash

Private Const metadata

Const normalizeHeaders

Const normalizeName

  • normalizeName(name: string): any

Const normalizeProgress

  • normalizeProgress(current: any, last: any): any

Const parse

  • parse(headers: any): {}

Const parseResponse

Private Const picker

Const prepareData

Private Const preview

Const printLog

  • printLog(status: boolean | string, name: string, value: string): string

Const read

  • read(name: string): string

Private Const readFile

  • readFile(file: any): Promise<any>

Const readPart

  • readPart(start: number, end: number, file: any): Promise<any>
  • Read file par instead of whole file to avoid browser crashing

    Parameters

    • start: number

      star byte

    • end: number

      end byte

    • file: any

      file to slice

    Returns Promise<any>

Private Const remove

  • remove(session: Session, handle?: string, skipStorage?: boolean, security?: Security): Promise<any>
  • remove(name: any): void

Private Const removeEmpty

  • removeEmpty(obj: any): any

Private Const resolveCdnUrl

  • resolveCdnUrl(session: Session, handle: string): string
  • Resolve cdn url based on handle type

    Parameters

    • session: Session

      session object

    • handle: string

      file handle (hash, src://alias, url)

    Returns string

Private Const resolveHost

Private Const retrieve

Const sanitizeName

Const set

Private Const shouldRetry

Const storeURL

  • storeURL(__namedParameters: { headers: {}; security: Security; session: Session; storeParams: StoreBaseParams & { base64decode?: boolean; filename?: string }; token: any; uploadTags: UploadTags; url: string; workflowIds: string[] }): Promise<any>
  • Store given url with options and

    Parameters

    • __namedParameters: { headers: {}; security: Security; session: Session; storeParams: StoreBaseParams & { base64decode?: boolean; filename?: string }; token: any; uploadTags: UploadTags; url: string; workflowIds: string[] }
      • headers: {}
        • [key: string]: string
      • security: Security
      • session: Session
      • storeParams: StoreBaseParams & { base64decode?: boolean; filename?: string }
      • token: any
      • uploadTags: UploadTags
      • url: string
      • workflowIds: string[]

    Returns Promise<any>

Private Const toSnakeCase

  • toSnakeCase(original: {}): {}

Private Const transform

  • Creates filestack transform url. Transform params can be provided in camelCase or snakeCase style

    Parameters

    • session: Session
    • url: string | string[]

      url, handle or array of elements

    • Default value options: TransformOptions = {}

      Transformation options

    • Default value b64: boolean = false

    Returns string

Const trim

  • trim(str: any): any
  • Trim excess whitespace off the beginning and end of a string

    Parameters

    • str: any

      The String to trim

    Returns any

    The String freed of excess whitespace

Const uniqueId

  • uniqueId(len?: number): string
  • Generates random string with provided length

    Parameters

    • Default value len: number = 10

    Returns string

Const uniqueTime

  • uniqueTime(): any

Const urlfy

  • urlfy(val: any): string

Const validateWebhookSignature

Const write

  • write(name: string, value: string, expires?: number, path?: string, domain?: string, secure?: boolean): void
  • Save cookie in browser

    Parameters

    • name: string
    • value: string
    • Optional expires: number
    • Optional path: string
    • Optional domain: string
    • Optional secure: boolean

    Returns void

Object literals

Const DefinitionsSchema

DefinitionsSchema: object

$schema

$schema: string = "http://json-schema.org/draft-07/schema#"

additionalProperties

additionalProperties: boolean = false

description

description: string = "Filestack common definitions"

title

title: string = "Filestack"

type

type: string = "object"

definitions

definitions: object

colorDef

colorDef: object

id

id: string = "colorDef"

oneOf

oneOf: ({ pattern: string; type: string } | { enum: string[]; type: string })[] = [{type: 'string',pattern: '^([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$', // without # at the begining}, {type: 'string',enum: ['aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgreen', 'darkgrey', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'fractal', 'fuchsia', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'gray0', 'gray1', 'gray2', 'gray3', 'gray4', 'gray5', 'gray6', 'gray7', 'gray8', 'gray9', 'gray10', 'gray11', 'gray12', 'gray13', 'gray14', 'gray15', 'gray16', 'gray17', 'gray18', 'gray19', 'gray20', 'gray21', 'gray22', 'gray23', 'gray24', 'gray25', 'gray26', 'gray27', 'gray28', 'gray29', 'gray30', 'gray31', 'gray32', 'gray33', 'gray34', 'gray35', 'gray36', 'gray37', 'gray38', 'gray39', 'gray40', 'gray41', 'gray42', 'gray43', 'gray44', 'gray45', 'gray46', 'gray47', 'gray48', 'gray49', 'gray50', 'gray51', 'gray52', 'gray53', 'gray54', 'gray55', 'gray56', 'gray57', 'gray58', 'gray59', 'gray60', 'gray61', 'gray62', 'gray63', 'gray64', 'gray65', 'gray66', 'gray67', 'gray68', 'gray69', 'gray70', 'gray71', 'gray72', 'gray73', 'gray74', 'gray75', 'gray76', 'gray77', 'gray78', 'gray79', 'gray80', 'gray81', 'gray82', 'gray83', 'gray84', 'gray85', 'gray86', 'gray87', 'gray88', 'gray89', 'gray90', 'gray91', 'gray92', 'gray93', 'gray94', 'gray95', 'gray96', 'gray97', 'gray98', 'gray99', 'gray100', 'gray', 'green', 'greenyellow', 'grey', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgreen', 'lightgrey', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'lime', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'navy', 'none', 'oldlace', 'olive', 'olivedrab', 'orange', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'purple', 'red', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'silver', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'teal', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'white', 'whitesmoke', 'yellow', 'yellowgreen', 'transparent'],}]

facesDef

facesDef: object

id

id: string = "/facesDef"

oneOf

oneOf: ({ enum: string[]; type: string } | { maximum: number; minimum: number; type: string } | { items: { maximum: number; minimum: number; type: string }[]; type: string; uniqueItems: boolean })[] = [{type: 'string',enum: ['all'],}, {type: 'integer',minimum: 1,maximum: 1000,}, {type: 'array',uniqueItems: true,items: [{type: 'integer',minimum: 1,maximum: 1000,}],}]

locationsDef

locationsDef: object

enum

enum: string[] = ['s3', 'S3', 'rackspace', 'gcs', 'azure', 'dropbox']

id

id: string = "/locationsDef"

type

type: string = "string"

objectsDef

objectsDef: object

id

id: string = "/objectsDef"

items

items: { additionalItems: boolean; items: { maximum: number; minimum: number; type: string }[]; minItems: number; type: string }[] = [{type: 'array',additionalItems: false,minItems: 4,items: [{type: 'integer',minimum: 0,maximum: 10000,}, {type: 'integer',minimum: 0,maximum: 10000,}, {type: 'integer',minimum: 1,maximum: 10000,}, {type: 'integer',minimum: 1,maximum: 10000,}],}]

maxItems

maxItems: number = 50

minItems

minItems: number = 1

type

type: string = "array"

pageFormatDef

pageFormatDef: object

enum

enum: string[] = ['a2', 'a3', 'a4', 'a5', 'b4', 'b5', 'letter', 'legal', 'tabloid']

id

id: string = "/pageFormatDef"

type

type: string = "string"

pageRangeDef

pageRangeDef: object

id

id: string = "/pageRangeDef"

items

items: { oneOf: ({ minimum: number; type: string } | { errorMessage: string; pattern: string; type: string })[] }[] = [{oneOf: [{type: 'integer',minimum: 1,}, {type: 'string',pattern: '^(\\d+(?:-\\d+)?)$|^(-\\d+)$|^(\\d+-)$',errorMessage: 'Param should be provided in one of the following formats: "1,2,3,5", "1-3", "1-", "-2" ',}],}]

type

type: string = "array"

uniqueItems

uniqueItems: boolean = true

positionDef

positionDef: object

default

default: string[] = ['middle', 'center']

id

id: string = "/positionDef"

oneOf

oneOf: ({ enum: string[]; type: string } | { additionalItems: boolean; default: string[]; items: { enum: string[]; type: string }[]; maxItems: number; minItems: number; type: string; uniqueItems: boolean })[] = [{type: 'string',enum: ['top','middle','bottom','left','center','right','faces',],},{type: 'array',uniqueItems: true,additionalItems: false,minItems: 2,maxItems: 2,default: ['middle', 'center'],items: [{type: 'string',enum: ['top','middle','bottom',],}, {type: 'string',enum: ['left','center','right',],},],},]

regionsDef

regionsDef: object

id

id: string = "/regionsDef"

type

type: string = "string"

securityCallDef

securityCallDef: object

id

id: string = "/securityCallDef"

oneOf

oneOf: ({ additionalProperties: boolean; enum: string[]; type: string } | { additionalProperties: boolean; items: { additionalProperties: boolean; enum: string[]; maxItems: number; minItems: number; type: string }[]; type: string })[] = [{additionalProperties: false,type: 'string',enum: ['pick', 'read', 'stat', 'write', 'writeUrl', 'store', 'convert', 'remove', 'exif', 'runWorkflow'],}, {type: 'array',additionalProperties: false,items: [{minItems: 1,maxItems: 10,type: 'string',additionalProperties: false,enum: ['pick', 'read', 'stat', 'write', 'writeUrl', 'store', 'convert', 'remove', 'exif', 'runWorkflow'],}],}]

workflowsDef

workflowsDef: object

additionalItems

additionalItems: boolean = false

id

id: string = "/workflowsDef"

items

items: { oneOf: ({ type: string } | { additionalProperties: boolean; type: string; properties: object })[] }[] = [{oneOf: [{type: 'string',}, {type: 'object',additionalProperties: false,properties: {id: {type: 'string',},},}],}]

maxItems

maxItems: number = 20

minItems

minItems: number = 1

type

type: string = "array"

Const ExtensionsMap

ExtensionsMap: object

application/andrew-inset

application/andrew-inset: string[] = ['ez']

application/applixware

application/applixware: string[] = ['aw']

application/atom+xml

application/atom+xml: string[] = ['atom']

application/atomcat+xml

application/atomcat+xml: string[] = ['atomcat']

application/atomsvc+xml

application/atomsvc+xml: string[] = ['atomsvc']

application/bdoc

application/bdoc: string[] = ['bdoc']

application/ccxml+xml

application/ccxml+xml: string[] = ['ccxml']

application/cdmi-capability

application/cdmi-capability: string[] = ['cdmia']

application/cdmi-container

application/cdmi-container: string[] = ['cdmic']

application/cdmi-domain

application/cdmi-domain: string[] = ['cdmid']

application/cdmi-object

application/cdmi-object: string[] = ['cdmio']

application/cdmi-queue

application/cdmi-queue: string[] = ['cdmiq']

application/cu-seeme

application/cu-seeme: string[] = ['cu']

application/dash+xml

application/dash+xml: string[] = ['mpd']

application/davmount+xml

application/davmount+xml: string[] = ['davmount']

application/docbook+xml

application/docbook+xml: string[] = ['dbk']

application/dssc+der

application/dssc+der: string[] = ['dssc']

application/dssc+xml

application/dssc+xml: string[] = ['xdssc']

application/ecmascript

application/ecmascript: string[] = ['ecma', 'es']

application/emma+xml

application/emma+xml: string[] = ['emma']

application/epub+zip

application/epub+zip: string[] = ['epub']

application/exi

application/exi: string[] = ['exi']

application/font-otf

application/font-otf: string = "otf"

application/font-tdpfr

application/font-tdpfr: string[] = ['pfr']

application/font-ttf

application/font-ttf: string = "ttf"

application/font-woff

application/font-woff: string = "woff"

application/font-woff2

application/font-woff2: string = "woff2"

application/geo+json

application/geo+json: string[] = ['geojson']

application/gml+xml

application/gml+xml: string[] = ['gml']

application/gpx+xml

application/gpx+xml: string[] = ['gpx']

application/gxf

application/gxf: string[] = ['gxf']

application/gzip

application/gzip: string[] = ['gz']

application/hjson

application/hjson: string[] = ['hjson']

application/hyperstudio

application/hyperstudio: string[] = ['stk']

application/inkml+xml

application/inkml+xml: string[] = ['ink', 'inkml']

application/ipfix

application/ipfix: string[] = ['ipfix']

application/java-archive

application/java-archive: string[] = ['jar', 'war', 'ear']

application/java-serialized-object

application/java-serialized-object: string[] = ['ser']

application/java-vm

application/java-vm: string[] = ['class']

application/javascript

application/javascript: string[] = ['js', 'mjs']

application/json

application/json: string[] = ['json', 'map']

application/json5

application/json5: string[] = ['json5']

application/jsonml+json

application/jsonml+json: string[] = ['jsonml']

application/ld+json

application/ld+json: string[] = ['jsonld']

application/lost+xml

application/lost+xml: string[] = ['lostxml']

application/mac-binhex40

application/mac-binhex40: string[] = ['hqx']

application/mac-compactpro

application/mac-compactpro: string[] = ['cpt']

application/mads+xml

application/mads+xml: string[] = ['mads']

application/manifest+json

application/manifest+json: string[] = ['webmanifest']

application/marc

application/marc: string[] = ['mrc']

application/marcxml+xml

application/marcxml+xml: string[] = ['mrcx']

application/mathematica

application/mathematica: string[] = ['ma', 'nb', 'mb']

application/mathml+xml

application/mathml+xml: string[] = ['mathml']

application/mbox

application/mbox: string[] = ['mbox']

application/mediaservercontrol+xml

application/mediaservercontrol+xml: string[] = ['mscml']

application/metalink+xml

application/metalink+xml: string[] = ['metalink']

application/metalink4+xml

application/metalink4+xml: string[] = ['meta4']

application/mets+xml

application/mets+xml: string[] = ['mets']

application/mods+xml

application/mods+xml: string[] = ['mods']

application/mp21

application/mp21: string[] = ['m21', 'mp21']

application/mp4

application/mp4: string[] = ['mp4s', 'm4p']

application/msword

application/msword: string[] = ['doc', 'dot']

application/mxf

application/mxf: string[] = ['mxf']

application/n-quads

application/n-quads: string[] = ['nq']

application/n-triples

application/n-triples: string[] = ['nt']

application/octet-stream

application/octet-stream: string[] = ['bin','dms','lrf','mar','so','dist','distz','pkg','bpk','dump','elc','deploy','exe','dll','deb','dmg','iso','msp','buffer',]

application/oda

application/oda: string[] = ['oda']

application/oebps-package+xml

application/oebps-package+xml: string[] = ['opf']

application/ogg

application/ogg: string[] = ['ogx']

application/omdoc+xml

application/omdoc+xml: string[] = ['omdoc']

application/onenote

application/onenote: string[] = ['onetoc', 'onetoc2', 'onetmp', 'onepkg']

application/oxps

application/oxps: string[] = ['oxps']

application/patch-ops-error+xml

application/patch-ops-error+xml: string[] = ['xer']

application/pdf

application/pdf: string[] = ['pdf']

application/pgp-encrypted

application/pgp-encrypted: string[] = ['pgp']

application/pgp-signature

application/pgp-signature: string[] = ['asc', 'sig']

application/pics-rules

application/pics-rules: string[] = ['prf']

application/pkcs10

application/pkcs10: string[] = ['p10']

application/pkcs7-mime

application/pkcs7-mime: string[] = ['p7m', 'p7c']

application/pkcs7-signature

application/pkcs7-signature: string[] = ['p7s']

application/pkcs8

application/pkcs8: string[] = ['p8']

application/pkix-attr-cert

application/pkix-attr-cert: string[] = ['ac']

application/pkix-cert

application/pkix-cert: string[] = ['cer']

application/pkix-crl

application/pkix-crl: string[] = ['crl']

application/pkix-pkipath

application/pkix-pkipath: string[] = ['pkipath']

application/pkixcmp

application/pkixcmp: string[] = ['pki']

application/pls+xml

application/pls+xml: string[] = ['pls']

application/postscript

application/postscript: string[] = ['ai', 'eps', 'ps']

application/prs.cww

application/prs.cww: string[] = ['cww']

application/pskc+xml

application/pskc+xml: string[] = ['pskcxml']

application/raml+yaml

application/raml+yaml: string[] = ['raml']

application/rdf+xml

application/rdf+xml: string[] = ['rdf', 'owl']

application/reginfo+xml

application/reginfo+xml: string[] = ['rif']

application/relax-ng-compact-syntax

application/relax-ng-compact-syntax: string[] = ['rnc']

application/resource-lists+xml

application/resource-lists+xml: string[] = ['rl']

application/resource-lists-diff+xml

application/resource-lists-diff+xml: string[] = ['rld']

application/rls-services+xml

application/rls-services+xml: string[] = ['rs']

application/rpki-ghostbusters

application/rpki-ghostbusters: string[] = ['gbr']

application/rpki-manifest

application/rpki-manifest: string[] = ['mft']

application/rpki-roa

application/rpki-roa: string[] = ['roa']

application/rsd+xml

application/rsd+xml: string[] = ['rsd']

application/rss+xml

application/rss+xml: string[] = ['rss']

application/rtf

application/rtf: string[] = ['rtf']

application/sbml+xml

application/sbml+xml: string[] = ['sbml']

application/scvp-cv-request

application/scvp-cv-request: string[] = ['scq']

application/scvp-cv-response

application/scvp-cv-response: string[] = ['scs']

application/scvp-vp-request

application/scvp-vp-request: string[] = ['spq']

application/scvp-vp-response

application/scvp-vp-response: string[] = ['spp']

application/sdp

application/sdp: string[] = ['sdp']

application/set-payment-initiation

application/set-payment-initiation: string[] = ['setpay']

application/set-registration-initiation

application/set-registration-initiation: string[] = ['setreg']

application/shf+xml

application/shf+xml: string[] = ['shf']

application/sieve

application/sieve: string[] = ['siv', 'sieve']

application/smil+xml

application/smil+xml: string[] = ['smi', 'smil']

application/sparql-query

application/sparql-query: string[] = ['rq']

application/sparql-results+xml

application/sparql-results+xml: string[] = ['srx']

application/srgs

application/srgs: string[] = ['gram']

application/srgs+xml

application/srgs+xml: string[] = ['grxml']

application/sru+xml

application/sru+xml: string[] = ['sru']

application/ssdl+xml

application/ssdl+xml: string[] = ['ssdl']

application/ssml+xml

application/ssml+xml: string[] = ['ssml']

application/tei+xml

application/tei+xml: string[] = ['tei', 'teicorpus']

application/thraud+xml

application/thraud+xml: string[] = ['tfi']

application/timestamped-data

application/timestamped-data: string[] = ['tsd']

application/vnd.3gpp.pic-bw-large

application/vnd.3gpp.pic-bw-large: string[] = ['plb']

application/vnd.3gpp.pic-bw-small

application/vnd.3gpp.pic-bw-small: string[] = ['psb']

application/vnd.3gpp.pic-bw-var

application/vnd.3gpp.pic-bw-var: string[] = ['pvb']

application/vnd.3gpp2.tcap

application/vnd.3gpp2.tcap: string[] = ['tcap']

application/vnd.3m.post-it-notes

application/vnd.3m.post-it-notes: string[] = ['pwn']

application/vnd.accpac.simply.aso

application/vnd.accpac.simply.aso: string[] = ['aso']

application/vnd.accpac.simply.imp

application/vnd.accpac.simply.imp: string[] = ['imp']

application/vnd.acucobol

application/vnd.acucobol: string[] = ['acu']

application/vnd.acucorp

application/vnd.acucorp: string[] = ['atc', 'acutc']

application/vnd.adobe.air-application-installer-package+zip

application/vnd.adobe.air-application-installer-package+zip: string[] = ['air']

application/vnd.adobe.formscentral.fcdt

application/vnd.adobe.formscentral.fcdt: string[] = ['fcdt']

application/vnd.adobe.fxp

application/vnd.adobe.fxp: string[] = ['fxp', 'fxpl']

application/vnd.adobe.xdp+xml

application/vnd.adobe.xdp+xml: string[] = ['xdp']

application/vnd.adobe.xfdf

application/vnd.adobe.xfdf: string[] = ['xfdf']

application/vnd.ahead.space

application/vnd.ahead.space: string[] = ['ahead']

application/vnd.airzip.filesecure.azf

application/vnd.airzip.filesecure.azf: string[] = ['azf']

application/vnd.airzip.filesecure.azs

application/vnd.airzip.filesecure.azs: string[] = ['azs']

application/vnd.amazon.ebook

application/vnd.amazon.ebook: string[] = ['azw']

application/vnd.americandynamics.acc

application/vnd.americandynamics.acc: string[] = ['acc']

application/vnd.amiga.ami

application/vnd.amiga.ami: string[] = ['ami']

application/vnd.android.package-archive

application/vnd.android.package-archive: string[] = ['apk']

application/vnd.anser-web-certificate-issue-initiation

application/vnd.anser-web-certificate-issue-initiation: string[] = ['cii']

application/vnd.anser-web-funds-transfer-initiation

application/vnd.anser-web-funds-transfer-initiation: string[] = ['fti']

application/vnd.antix.game-component

application/vnd.antix.game-component: string[] = ['atx']

application/vnd.apple.installer+xml

application/vnd.apple.installer+xml: string[] = ['mpkg']

application/vnd.apple.key

application/vnd.apple.key: string[] = ['key']

application/vnd.apple.keynote

application/vnd.apple.keynote: string[] = ['keynote', 'key']

application/vnd.apple.mpegurl

application/vnd.apple.mpegurl: string[] = ['m3u8']

application/vnd.apple.numbers

application/vnd.apple.numbers: string[] = ['numbers']

application/vnd.apple.pages

application/vnd.apple.pages: string[] = ['pages']

application/vnd.apple.pkpass

application/vnd.apple.pkpass: string[] = ['pkpass']

application/vnd.aristanetworks.swi

application/vnd.aristanetworks.swi: string[] = ['swi']

application/vnd.astraea-software.iota

application/vnd.astraea-software.iota: string[] = ['iota']

application/vnd.audiograph

application/vnd.audiograph: string[] = ['aep']

application/vnd.blueice.multipass

application/vnd.blueice.multipass: string[] = ['mpm']

application/vnd.bmi

application/vnd.bmi: string[] = ['bmi']

application/vnd.businessobjects

application/vnd.businessobjects: string[] = ['rep']

application/vnd.chemdraw+xml

application/vnd.chemdraw+xml: string[] = ['cdxml']

application/vnd.chipnuts.karaoke-mmd

application/vnd.chipnuts.karaoke-mmd: string[] = ['mmd']

application/vnd.cinderella

application/vnd.cinderella: string[] = ['cdy']

application/vnd.citationstyles.style+xml

application/vnd.citationstyles.style+xml: string[] = ['csl']

application/vnd.claymore

application/vnd.claymore: string[] = ['cla']

application/vnd.cloanto.rp9

application/vnd.cloanto.rp9: string[] = ['rp9']

application/vnd.clonk.c4group

application/vnd.clonk.c4group: string[] = ['c4g', 'c4d', 'c4f', 'c4p', 'c4u']

application/vnd.cluetrust.cartomobile-config

application/vnd.cluetrust.cartomobile-config: string[] = ['c11amc']

application/vnd.cluetrust.cartomobile-config-pkg

application/vnd.cluetrust.cartomobile-config-pkg: string[] = ['c11amz']

application/vnd.commonspace

application/vnd.commonspace: string[] = ['csp']

application/vnd.contact.cmsg

application/vnd.contact.cmsg: string[] = ['cdbcmsg']

application/vnd.cosmocaller

application/vnd.cosmocaller: string[] = ['cmc']

application/vnd.crick.clicker

application/vnd.crick.clicker: string[] = ['clkx']

application/vnd.crick.clicker.keyboard

application/vnd.crick.clicker.keyboard: string[] = ['clkk']

application/vnd.crick.clicker.palette

application/vnd.crick.clicker.palette: string[] = ['clkp']

application/vnd.crick.clicker.template

application/vnd.crick.clicker.template: string[] = ['clkt']

application/vnd.crick.clicker.wordbank

application/vnd.crick.clicker.wordbank: string[] = ['clkw']

application/vnd.criticaltools.wbs+xml

application/vnd.criticaltools.wbs+xml: string[] = ['wbs']

application/vnd.ctc-posml

application/vnd.ctc-posml: string[] = ['pml']

application/vnd.cups-ppd

application/vnd.cups-ppd: string[] = ['ppd']

application/vnd.curl.car

application/vnd.curl.car: string[] = ['car']

application/vnd.curl.pcurl

application/vnd.curl.pcurl: string[] = ['pcurl']

application/vnd.dart

application/vnd.dart: string[] = ['dart']

application/vnd.data-vision.rdz

application/vnd.data-vision.rdz: string[] = ['rdz']

application/vnd.debian.binary-package

application/vnd.debian.binary-package: string = "deb"

application/vnd.dece.data

application/vnd.dece.data: string[] = ['uvf', 'uvvf', 'uvd', 'uvvd']

application/vnd.dece.ttml+xml

application/vnd.dece.ttml+xml: string[] = ['uvt', 'uvvt']

application/vnd.dece.unspecified

application/vnd.dece.unspecified: string[] = ['uvx', 'uvvx']

application/vnd.dece.zip

application/vnd.dece.zip: string[] = ['uvz', 'uvvz']

application/vnd.denovo.fcselayout-link

application/vnd.denovo.fcselayout-link: string[] = ['fe_launch']

application/vnd.dna

application/vnd.dna: string[] = ['dna']

application/vnd.dolby.mlp

application/vnd.dolby.mlp: string[] = ['mlp']

application/vnd.dpgraph

application/vnd.dpgraph: string[] = ['dpg']

application/vnd.dreamfactory

application/vnd.dreamfactory: string[] = ['dfac']

application/vnd.ds-keypoint

application/vnd.ds-keypoint: string[] = ['kpxx']

application/vnd.dvb.ait

application/vnd.dvb.ait: string[] = ['ait']

application/vnd.dvb.service

application/vnd.dvb.service: string[] = ['svc']

application/vnd.dynageo

application/vnd.dynageo: string[] = ['geo']

application/vnd.ecowin.chart

application/vnd.ecowin.chart: string[] = ['mag']

application/vnd.enliven

application/vnd.enliven: string[] = ['nml']

application/vnd.epson.esf

application/vnd.epson.esf: string[] = ['esf']

application/vnd.epson.msf

application/vnd.epson.msf: string[] = ['msf']

application/vnd.epson.quickanime

application/vnd.epson.quickanime: string[] = ['qam']

application/vnd.epson.salt

application/vnd.epson.salt: string[] = ['slt']

application/vnd.epson.ssf

application/vnd.epson.ssf: string[] = ['ssf']

application/vnd.eszigno3+xml

application/vnd.eszigno3+xml: string[] = ['es3', 'et3']

application/vnd.ezpix-album

application/vnd.ezpix-album: string[] = ['ez2']

application/vnd.ezpix-package

application/vnd.ezpix-package: string[] = ['ez3']

application/vnd.fdf

application/vnd.fdf: string[] = ['fdf']

application/vnd.fdsn.mseed

application/vnd.fdsn.mseed: string[] = ['mseed']

application/vnd.fdsn.seed

application/vnd.fdsn.seed: string[] = ['seed', 'dataless']

application/vnd.flographit

application/vnd.flographit: string[] = ['gph']

application/vnd.fluxtime.clip

application/vnd.fluxtime.clip: string[] = ['ftc']

application/vnd.framemaker

application/vnd.framemaker: string[] = ['fm', 'frame', 'maker', 'book']

application/vnd.frogans.fnc

application/vnd.frogans.fnc: string[] = ['fnc']

application/vnd.frogans.ltf

application/vnd.frogans.ltf: string[] = ['ltf']

application/vnd.fsc.weblaunch

application/vnd.fsc.weblaunch: string[] = ['fsc']

application/vnd.fujitsu.oasys

application/vnd.fujitsu.oasys: string[] = ['oas']

application/vnd.fujitsu.oasys2

application/vnd.fujitsu.oasys2: string[] = ['oa2']

application/vnd.fujitsu.oasys3

application/vnd.fujitsu.oasys3: string[] = ['oa3']

application/vnd.fujitsu.oasysgp

application/vnd.fujitsu.oasysgp: string[] = ['fg5']

application/vnd.fujitsu.oasysprs

application/vnd.fujitsu.oasysprs: string[] = ['bh2']

application/vnd.fujixerox.ddd

application/vnd.fujixerox.ddd: string[] = ['ddd']

application/vnd.fujixerox.docuworks

application/vnd.fujixerox.docuworks: string[] = ['xdw']

application/vnd.fujixerox.docuworks.binder

application/vnd.fujixerox.docuworks.binder: string[] = ['xbd']

application/vnd.fuzzysheet

application/vnd.fuzzysheet: string[] = ['fzs']

application/vnd.genomatix.tuxedo

application/vnd.genomatix.tuxedo: string[] = ['txd']

application/vnd.geo+json

application/vnd.geo+json: string = "geojson"

application/vnd.geogebra.file

application/vnd.geogebra.file: string[] = ['ggb']

application/vnd.geogebra.tool

application/vnd.geogebra.tool: string[] = ['ggt']

application/vnd.geometry-explorer

application/vnd.geometry-explorer: string[] = ['gex', 'gre']

application/vnd.geonext

application/vnd.geonext: string[] = ['gxt']

application/vnd.geoplan

application/vnd.geoplan: string[] = ['g2w']

application/vnd.geospace

application/vnd.geospace: string[] = ['g3w']

application/vnd.gmx

application/vnd.gmx: string[] = ['gmx']

application/vnd.google-apps.document

application/vnd.google-apps.document: string[] = ['gdoc']

application/vnd.google-apps.presentation

application/vnd.google-apps.presentation: string[] = ['gslides']

application/vnd.google-apps.spreadsheet

application/vnd.google-apps.spreadsheet: string[] = ['gsheet']

application/vnd.google-earth.kml+xml

application/vnd.google-earth.kml+xml: string[] = ['kml']

application/vnd.google-earth.kmz

application/vnd.google-earth.kmz: string[] = ['kmz']

application/vnd.grafeq

application/vnd.grafeq: string[] = ['gqf', 'gqs']

application/vnd.groove-account

application/vnd.groove-account: string[] = ['gac']

application/vnd.groove-help

application/vnd.groove-help: string[] = ['ghf']

application/vnd.groove-identity-message

application/vnd.groove-identity-message: string[] = ['gim']

application/vnd.groove-injector

application/vnd.groove-injector: string[] = ['grv']

application/vnd.groove-tool-message

application/vnd.groove-tool-message: string[] = ['gtm']

application/vnd.groove-tool-template

application/vnd.groove-tool-template: string[] = ['tpl']

application/vnd.groove-vcard

application/vnd.groove-vcard: string[] = ['vcg']

application/vnd.hal+xml

application/vnd.hal+xml: string[] = ['hal']

application/vnd.handheld-entertainment+xml

application/vnd.handheld-entertainment+xml: string[] = ['zmm']

application/vnd.hbci

application/vnd.hbci: string[] = ['hbci']

application/vnd.hhe.lesson-player

application/vnd.hhe.lesson-player: string[] = ['les']

application/vnd.hp-hpgl

application/vnd.hp-hpgl: string[] = ['hpgl']

application/vnd.hp-hpid

application/vnd.hp-hpid: string[] = ['hpid']

application/vnd.hp-hps

application/vnd.hp-hps: string[] = ['hps']

application/vnd.hp-jlyt

application/vnd.hp-jlyt: string[] = ['jlt']

application/vnd.hp-pcl

application/vnd.hp-pcl: string[] = ['pcl']

application/vnd.hp-pclxl

application/vnd.hp-pclxl: string[] = ['pclxl']

application/vnd.hydrostatix.sof-data

application/vnd.hydrostatix.sof-data: string[] = ['sfd-hdstx']

application/vnd.ibm.minipay

application/vnd.ibm.minipay: string[] = ['mpy']

application/vnd.ibm.modcap

application/vnd.ibm.modcap: string[] = ['afp', 'listafp', 'list3820']

application/vnd.ibm.rights-management

application/vnd.ibm.rights-management: string[] = ['irm']

application/vnd.ibm.secure-container

application/vnd.ibm.secure-container: string[] = ['sc']

application/vnd.iccprofile

application/vnd.iccprofile: string[] = ['icc', 'icm']

application/vnd.igloader

application/vnd.igloader: string[] = ['igl']

application/vnd.immervision-ivp

application/vnd.immervision-ivp: string[] = ['ivp']

application/vnd.immervision-ivu

application/vnd.immervision-ivu: string[] = ['ivu']

application/vnd.insors.igm

application/vnd.insors.igm: string[] = ['igm']

application/vnd.intercon.formnet

application/vnd.intercon.formnet: string[] = ['xpw', 'xpx']

application/vnd.intergeo

application/vnd.intergeo: string[] = ['i2g']

application/vnd.intu.qbo

application/vnd.intu.qbo: string[] = ['qbo']

application/vnd.intu.qfx

application/vnd.intu.qfx: string[] = ['qfx']

application/vnd.ipunplugged.rcprofile

application/vnd.ipunplugged.rcprofile: string[] = ['rcprofile']

application/vnd.irepository.package+xml

application/vnd.irepository.package+xml: string[] = ['irp']

application/vnd.is-xpr

application/vnd.is-xpr: string[] = ['xpr']

application/vnd.isac.fcs

application/vnd.isac.fcs: string[] = ['fcs']

application/vnd.jam

application/vnd.jam: string[] = ['jam']

application/vnd.jcp.javame.midlet-rms

application/vnd.jcp.javame.midlet-rms: string[] = ['rms']

application/vnd.jisp

application/vnd.jisp: string[] = ['jisp']

application/vnd.joost.joda-archive

application/vnd.joost.joda-archive: string[] = ['joda']

application/vnd.kahootz

application/vnd.kahootz: string[] = ['ktz', 'ktr']

application/vnd.kde.karbon

application/vnd.kde.karbon: string[] = ['karbon']

application/vnd.kde.kchart

application/vnd.kde.kchart: string[] = ['chrt']

application/vnd.kde.kformula

application/vnd.kde.kformula: string[] = ['kfo']

application/vnd.kde.kivio

application/vnd.kde.kivio: string[] = ['flw']

application/vnd.kde.kontour

application/vnd.kde.kontour: string[] = ['kon']

application/vnd.kde.kpresenter

application/vnd.kde.kpresenter: string[] = ['kpr', 'kpt']

application/vnd.kde.kspread

application/vnd.kde.kspread: string[] = ['ksp']

application/vnd.kde.kword

application/vnd.kde.kword: string[] = ['kwd', 'kwt']

application/vnd.kenameaapp

application/vnd.kenameaapp: string[] = ['htke']

application/vnd.kidspiration

application/vnd.kidspiration: string[] = ['kia']

application/vnd.kinar

application/vnd.kinar: string[] = ['kne', 'knp']

application/vnd.koan

application/vnd.koan: string[] = ['skp', 'skd', 'skt', 'skm']

application/vnd.kodak-descriptor

application/vnd.kodak-descriptor: string[] = ['sse']

application/vnd.las.las+xml

application/vnd.las.las+xml: string[] = ['lasxml']

application/vnd.llamagraphics.life-balance.desktop

application/vnd.llamagraphics.life-balance.desktop: string[] = ['lbd']

application/vnd.llamagraphics.life-balance.exchange+xml

application/vnd.llamagraphics.life-balance.exchange+xml: string[] = ['lbe']

application/vnd.lotus-1-2-3

application/vnd.lotus-1-2-3: string[] = ['123']

application/vnd.lotus-approach

application/vnd.lotus-approach: string[] = ['apr']

application/vnd.lotus-freelance

application/vnd.lotus-freelance: string[] = ['pre']

application/vnd.lotus-notes

application/vnd.lotus-notes: string[] = ['nsf']

application/vnd.lotus-organizer

application/vnd.lotus-organizer: string[] = ['org']

application/vnd.lotus-screencam

application/vnd.lotus-screencam: string[] = ['scm']

application/vnd.lotus-wordpro

application/vnd.lotus-wordpro: string[] = ['lwp']

application/vnd.macports.portpkg

application/vnd.macports.portpkg: string[] = ['portpkg']

application/vnd.mcd

application/vnd.mcd: string[] = ['mcd']

application/vnd.medcalcdata

application/vnd.medcalcdata: string[] = ['mc1']

application/vnd.mediastation.cdkey

application/vnd.mediastation.cdkey: string[] = ['cdkey']

application/vnd.mfer

application/vnd.mfer: string[] = ['mwf']

application/vnd.mfmp

application/vnd.mfmp: string[] = ['mfm']

application/vnd.micrografx.flo

application/vnd.micrografx.flo: string[] = ['flo']

application/vnd.micrografx.igx

application/vnd.micrografx.igx: string[] = ['igx']

application/vnd.mif

application/vnd.mif: string[] = ['mif']

application/vnd.mobius.daf

application/vnd.mobius.daf: string[] = ['daf']

application/vnd.mobius.dis

application/vnd.mobius.dis: string[] = ['dis']

application/vnd.mobius.mbk

application/vnd.mobius.mbk: string[] = ['mbk']

application/vnd.mobius.mqy

application/vnd.mobius.mqy: string[] = ['mqy']

application/vnd.mobius.msl

application/vnd.mobius.msl: string[] = ['msl']

application/vnd.mobius.plc

application/vnd.mobius.plc: string[] = ['plc']

application/vnd.mobius.txf

application/vnd.mobius.txf: string[] = ['txf']

application/vnd.mophun.application

application/vnd.mophun.application: string[] = ['mpn']

application/vnd.mophun.certificate

application/vnd.mophun.certificate: string[] = ['mpc']

application/vnd.mozilla.xul+xml

application/vnd.mozilla.xul+xml: string[] = ['xul']

application/vnd.ms-artgalry

application/vnd.ms-artgalry: string[] = ['cil']

application/vnd.ms-cab-compressed

application/vnd.ms-cab-compressed: string[] = ['cab']

application/vnd.ms-excel

application/vnd.ms-excel: string[] = ['xls', 'xlm', 'xla', 'xlc', 'xlt', 'xlw']

application/vnd.ms-excel.addin.macroenabled.12

application/vnd.ms-excel.addin.macroenabled.12: string[] = ['xlam']

application/vnd.ms-excel.sheet.binary.macroenabled.12

application/vnd.ms-excel.sheet.binary.macroenabled.12: string[] = ['xlsb']

application/vnd.ms-excel.sheet.macroenabled.12

application/vnd.ms-excel.sheet.macroenabled.12: string[] = ['xlsm']

application/vnd.ms-excel.template.macroenabled.12

application/vnd.ms-excel.template.macroenabled.12: string[] = ['xltm']

application/vnd.ms-fontobject

application/vnd.ms-fontobject: string = "eot"

application/vnd.ms-htmlhelp

application/vnd.ms-htmlhelp: string[] = ['chm']

application/vnd.ms-ims

application/vnd.ms-ims: string[] = ['ims']

application/vnd.ms-lrm

application/vnd.ms-lrm: string[] = ['lrm']

application/vnd.ms-officetheme

application/vnd.ms-officetheme: string[] = ['thmx']

application/vnd.ms-outlook

application/vnd.ms-outlook: string[] = ['msg']

application/vnd.ms-pki.seccat

application/vnd.ms-pki.seccat: string[] = ['cat']

application/vnd.ms-pki.stl

application/vnd.ms-pki.stl: string[] = ['*stl']

application/vnd.ms-powerpoint

application/vnd.ms-powerpoint: string[] = ['ppt', 'pps', 'pot']

application/vnd.ms-powerpoint.addin.macroenabled.12

application/vnd.ms-powerpoint.addin.macroenabled.12: string[] = ['ppam']

application/vnd.ms-powerpoint.presentation.macroenabled.12

application/vnd.ms-powerpoint.presentation.macroenabled.12: string[] = ['pptm']

application/vnd.ms-powerpoint.slide.macroenabled.12

application/vnd.ms-powerpoint.slide.macroenabled.12: string[] = ['sldm']

application/vnd.ms-powerpoint.slideshow.macroenabled.12

application/vnd.ms-powerpoint.slideshow.macroenabled.12: string[] = ['ppsm']

application/vnd.ms-powerpoint.template.macroenabled.12

application/vnd.ms-powerpoint.template.macroenabled.12: string[] = ['potm']

application/vnd.ms-project

application/vnd.ms-project: string[] = ['mpp', 'mpt']

application/vnd.ms-word.document.macroenabled.12

application/vnd.ms-word.document.macroenabled.12: string[] = ['docm']

application/vnd.ms-word.template.macroenabled.12

application/vnd.ms-word.template.macroenabled.12: string[] = ['dotm']

application/vnd.ms-works

application/vnd.ms-works: string[] = ['wps', 'wks', 'wcm', 'wdb']

application/vnd.ms-wpl

application/vnd.ms-wpl: string[] = ['wpl']

application/vnd.ms-xpsdocument

application/vnd.ms-xpsdocument: string[] = ['xps']

application/vnd.mseq

application/vnd.mseq: string[] = ['mseq']

application/vnd.musician

application/vnd.musician: string[] = ['mus']

application/vnd.muvee.style

application/vnd.muvee.style: string[] = ['msty']

application/vnd.mynfc

application/vnd.mynfc: string[] = ['taglet']

application/vnd.neurolanguage.nlu

application/vnd.neurolanguage.nlu: string[] = ['nlu']

application/vnd.nitf

application/vnd.nitf: string[] = ['ntf', 'nitf']

application/vnd.noblenet-directory

application/vnd.noblenet-directory: string[] = ['nnd']

application/vnd.noblenet-sealer

application/vnd.noblenet-sealer: string[] = ['nns']

application/vnd.noblenet-web

application/vnd.noblenet-web: string[] = ['nnw']

application/vnd.nokia.n-gage.data

application/vnd.nokia.n-gage.data: string[] = ['ngdat']

application/vnd.nokia.n-gage.symbian.install

application/vnd.nokia.n-gage.symbian.install: string[] = ['n-gage']

application/vnd.nokia.radio-preset

application/vnd.nokia.radio-preset: string[] = ['rpst']

application/vnd.nokia.radio-presets

application/vnd.nokia.radio-presets: string[] = ['rpss']

application/vnd.novadigm.edm

application/vnd.novadigm.edm: string[] = ['edm']

application/vnd.novadigm.edx

application/vnd.novadigm.edx: string[] = ['edx']

application/vnd.novadigm.ext

application/vnd.novadigm.ext: string[] = ['ext']

application/vnd.oasis.opendocument.chart

application/vnd.oasis.opendocument.chart: string[] = ['odc']

application/vnd.oasis.opendocument.chart-template

application/vnd.oasis.opendocument.chart-template: string[] = ['otc']

application/vnd.oasis.opendocument.database

application/vnd.oasis.opendocument.database: string[] = ['odb']

application/vnd.oasis.opendocument.formula

application/vnd.oasis.opendocument.formula: string[] = ['odf']

application/vnd.oasis.opendocument.formula-template

application/vnd.oasis.opendocument.formula-template: string[] = ['odft']

application/vnd.oasis.opendocument.graphics

application/vnd.oasis.opendocument.graphics: string[] = ['odg']

application/vnd.oasis.opendocument.graphics-template

application/vnd.oasis.opendocument.graphics-template: string[] = ['otg']

application/vnd.oasis.opendocument.image

application/vnd.oasis.opendocument.image: string[] = ['odi']

application/vnd.oasis.opendocument.image-template

application/vnd.oasis.opendocument.image-template: string[] = ['oti']

application/vnd.oasis.opendocument.presentation

application/vnd.oasis.opendocument.presentation: string[] = ['odp']

application/vnd.oasis.opendocument.presentation-template

application/vnd.oasis.opendocument.presentation-template: string[] = ['otp']

application/vnd.oasis.opendocument.spreadsheet

application/vnd.oasis.opendocument.spreadsheet: string[] = ['ods']

application/vnd.oasis.opendocument.spreadsheet-template

application/vnd.oasis.opendocument.spreadsheet-template: string[] = ['ots']

application/vnd.oasis.opendocument.text

application/vnd.oasis.opendocument.text: string[] = ['odt']

application/vnd.oasis.opendocument.text-master

application/vnd.oasis.opendocument.text-master: string[] = ['odm']

application/vnd.oasis.opendocument.text-template

application/vnd.oasis.opendocument.text-template: string[] = ['ott']

application/vnd.oasis.opendocument.text-web

application/vnd.oasis.opendocument.text-web: string[] = ['oth']

application/vnd.olpc-sugar

application/vnd.olpc-sugar: string[] = ['xo']

application/vnd.oma.dd2+xml

application/vnd.oma.dd2+xml: string[] = ['dd2']

application/vnd.openofficeorg.extension

application/vnd.openofficeorg.extension: string[] = ['oxt']

application/vnd.openxmlformats-officedocument.presentationml.presentation

application/vnd.openxmlformats-officedocument.presentationml.presentation: string[] = ['pptx']

application/vnd.openxmlformats-officedocument.presentationml.slide

application/vnd.openxmlformats-officedocument.presentationml.slide: string[] = ['sldx']

application/vnd.openxmlformats-officedocument.presentationml.slideshow

application/vnd.openxmlformats-officedocument.presentationml.slideshow: string[] = ['ppsx']

application/vnd.openxmlformats-officedocument.presentationml.template

application/vnd.openxmlformats-officedocument.presentationml.template: string[] = ['potx']

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: string[] = ['xlsx']

application/vnd.openxmlformats-officedocument.spreadsheetml.template

application/vnd.openxmlformats-officedocument.spreadsheetml.template: string[] = ['xltx']

application/vnd.openxmlformats-officedocument.wordprocessingml.document

application/vnd.openxmlformats-officedocument.wordprocessingml.document: string[] = ['docx']

application/vnd.openxmlformats-officedocument.wordprocessingml.template

application/vnd.openxmlformats-officedocument.wordprocessingml.template: string[] = ['dotx']

application/vnd.osgeo.mapguide.package

application/vnd.osgeo.mapguide.package: string[] = ['mgp']

application/vnd.osgi.dp

application/vnd.osgi.dp: string[] = ['dp']

application/vnd.osgi.subsystem

application/vnd.osgi.subsystem: string[] = ['esa']

application/vnd.palm

application/vnd.palm: string[] = ['pdb', 'pqa', 'oprc']

application/vnd.pawaafile

application/vnd.pawaafile: string[] = ['paw']

application/vnd.pg.format

application/vnd.pg.format: string[] = ['str']

application/vnd.pg.osasli

application/vnd.pg.osasli: string[] = ['ei6']

application/vnd.picsel

application/vnd.picsel: string[] = ['efif']

application/vnd.pmi.widget

application/vnd.pmi.widget: string[] = ['wg']

application/vnd.pocketlearn

application/vnd.pocketlearn: string[] = ['plf']

application/vnd.powerbuilder6

application/vnd.powerbuilder6: string[] = ['pbd']

application/vnd.previewsystems.box

application/vnd.previewsystems.box: string[] = ['box']

application/vnd.proteus.magazine

application/vnd.proteus.magazine: string[] = ['mgz']

application/vnd.publishare-delta-tree

application/vnd.publishare-delta-tree: string[] = ['qps']

application/vnd.pvi.ptid1

application/vnd.pvi.ptid1: string[] = ['ptid']

application/vnd.quark.quarkxpress

application/vnd.quark.quarkxpress: string[] = ['qxd', 'qxt', 'qwd', 'qwt', 'qxl', 'qxb']

application/vnd.realvnc.bed

application/vnd.realvnc.bed: string[] = ['bed']

application/vnd.recordare.musicxml

application/vnd.recordare.musicxml: string[] = ['mxl']

application/vnd.recordare.musicxml+xml

application/vnd.recordare.musicxml+xml: string[] = ['musicxml']

application/vnd.rig.cryptonote

application/vnd.rig.cryptonote: string[] = ['cryptonote']

application/vnd.rim.cod

application/vnd.rim.cod: string[] = ['cod']

application/vnd.rn-realmedia

application/vnd.rn-realmedia: string[] = ['rm']

application/vnd.rn-realmedia-vbr

application/vnd.rn-realmedia-vbr: string[] = ['rmvb']

application/vnd.route66.link66+xml

application/vnd.route66.link66+xml: string[] = ['link66']

application/vnd.sailingtracker.track

application/vnd.sailingtracker.track: string[] = ['st']

application/vnd.seemail

application/vnd.seemail: string[] = ['see']

application/vnd.sema

application/vnd.sema: string[] = ['sema']

application/vnd.semd

application/vnd.semd: string[] = ['semd']

application/vnd.semf

application/vnd.semf: string[] = ['semf']

application/vnd.shana.informed.formdata

application/vnd.shana.informed.formdata: string[] = ['ifm']

application/vnd.shana.informed.formtemplate

application/vnd.shana.informed.formtemplate: string[] = ['itp']

application/vnd.shana.informed.interchange

application/vnd.shana.informed.interchange: string[] = ['iif']

application/vnd.shana.informed.package

application/vnd.shana.informed.package: string[] = ['ipk']

application/vnd.simtech-mindmapper

application/vnd.simtech-mindmapper: string[] = ['twd', 'twds']

application/vnd.smaf

application/vnd.smaf: string[] = ['mmf']

application/vnd.smart.teacher

application/vnd.smart.teacher: string[] = ['teacher']

application/vnd.solent.sdkm+xml

application/vnd.solent.sdkm+xml: string[] = ['sdkm', 'sdkd']

application/vnd.spotfire.dxp

application/vnd.spotfire.dxp: string[] = ['dxp']

application/vnd.spotfire.sfs

application/vnd.spotfire.sfs: string[] = ['sfs']

application/vnd.stardivision.calc

application/vnd.stardivision.calc: string[] = ['sdc']

application/vnd.stardivision.draw

application/vnd.stardivision.draw: string[] = ['sda']

application/vnd.stardivision.impress

application/vnd.stardivision.impress: string[] = ['sdd']

application/vnd.stardivision.math

application/vnd.stardivision.math: string[] = ['smf']

application/vnd.stardivision.writer

application/vnd.stardivision.writer: string[] = ['sdw', 'vor']

application/vnd.stardivision.writer-global

application/vnd.stardivision.writer-global: string[] = ['sgl']

application/vnd.stepmania.package

application/vnd.stepmania.package: string[] = ['smzip']

application/vnd.stepmania.stepchart

application/vnd.stepmania.stepchart: string[] = ['sm']

application/vnd.sun.wadl+xml

application/vnd.sun.wadl+xml: string[] = ['wadl']

application/vnd.sun.xml.calc

application/vnd.sun.xml.calc: string[] = ['sxc']

application/vnd.sun.xml.calc.template

application/vnd.sun.xml.calc.template: string[] = ['stc']

application/vnd.sun.xml.draw

application/vnd.sun.xml.draw: string[] = ['sxd']

application/vnd.sun.xml.draw.template

application/vnd.sun.xml.draw.template: string[] = ['std']

application/vnd.sun.xml.impress

application/vnd.sun.xml.impress: string[] = ['sxi']

application/vnd.sun.xml.impress.template

application/vnd.sun.xml.impress.template: string[] = ['sti']

application/vnd.sun.xml.math

application/vnd.sun.xml.math: string[] = ['sxm']

application/vnd.sun.xml.writer

application/vnd.sun.xml.writer: string[] = ['sxw']

application/vnd.sun.xml.writer.global

application/vnd.sun.xml.writer.global: string[] = ['sxg']

application/vnd.sun.xml.writer.template

application/vnd.sun.xml.writer.template: string[] = ['stw']

application/vnd.sus-calendar

application/vnd.sus-calendar: string[] = ['sus', 'susp']

application/vnd.svd

application/vnd.svd: string[] = ['svd']

application/vnd.symbian.install

application/vnd.symbian.install: string[] = ['sis', 'sisx']

application/vnd.syncml+xml

application/vnd.syncml+xml: string[] = ['xsm']

application/vnd.syncml.dm+wbxml

application/vnd.syncml.dm+wbxml: string[] = ['bdm']

application/vnd.syncml.dm+xml

application/vnd.syncml.dm+xml: string[] = ['xdm']

application/vnd.tao.intent-module-archive

application/vnd.tao.intent-module-archive: string[] = ['tao']

application/vnd.tcpdump.pcap

application/vnd.tcpdump.pcap: string[] = ['pcap', 'cap', 'dmp']

application/vnd.tmobile-livetv

application/vnd.tmobile-livetv: string[] = ['tmo']

application/vnd.trid.tpt

application/vnd.trid.tpt: string[] = ['tpt']

application/vnd.triscape.mxs

application/vnd.triscape.mxs: string[] = ['mxs']

application/vnd.trueapp

application/vnd.trueapp: string[] = ['tra']

application/vnd.ufdl

application/vnd.ufdl: string[] = ['ufd', 'ufdl']

application/vnd.uiq.theme

application/vnd.uiq.theme: string[] = ['utz']

application/vnd.umajin

application/vnd.umajin: string[] = ['umj']

application/vnd.unity

application/vnd.unity: string[] = ['unityweb']

application/vnd.uoml+xml

application/vnd.uoml+xml: string[] = ['uoml']

application/vnd.vcx

application/vnd.vcx: string[] = ['vcx']

application/vnd.visio

application/vnd.visio: string[] = ['vsd', 'vst', 'vss', 'vsw']

application/vnd.visionary

application/vnd.visionary: string[] = ['vis']

application/vnd.vsf

application/vnd.vsf: string[] = ['vsf']

application/vnd.wap.wbxml

application/vnd.wap.wbxml: string[] = ['wbxml']

application/vnd.wap.wmlc

application/vnd.wap.wmlc: string[] = ['wmlc']

application/vnd.wap.wmlscriptc

application/vnd.wap.wmlscriptc: string[] = ['wmlsc']

application/vnd.webturbo

application/vnd.webturbo: string[] = ['wtb']

application/vnd.wolfram.player

application/vnd.wolfram.player: string[] = ['nbp']

application/vnd.wordperfect

application/vnd.wordperfect: string[] = ['wpd']

application/vnd.wqd

application/vnd.wqd: string[] = ['wqd']

application/vnd.wt.stf

application/vnd.wt.stf: string[] = ['stf']

application/vnd.xara

application/vnd.xara: string[] = ['xar']

application/vnd.xfdl

application/vnd.xfdl: string[] = ['xfdl']

application/vnd.yamaha.hv-dic

application/vnd.yamaha.hv-dic: string[] = ['hvd']

application/vnd.yamaha.hv-script

application/vnd.yamaha.hv-script: string[] = ['hvs']

application/vnd.yamaha.hv-voice

application/vnd.yamaha.hv-voice: string[] = ['hvp']

application/vnd.yamaha.openscoreformat

application/vnd.yamaha.openscoreformat: string[] = ['osf']

application/vnd.yamaha.openscoreformat.osfpvg+xml

application/vnd.yamaha.openscoreformat.osfpvg+xml: string[] = ['osfpvg']

application/vnd.yamaha.smaf-audio

application/vnd.yamaha.smaf-audio: string[] = ['saf']

application/vnd.yamaha.smaf-phrase

application/vnd.yamaha.smaf-phrase: string[] = ['spf']

application/vnd.yellowriver-custom-menu

application/vnd.yellowriver-custom-menu: string[] = ['cmp']

application/vnd.zul

application/vnd.zul: string[] = ['zir', 'zirz']

application/vnd.zzazz.deck+xml

application/vnd.zzazz.deck+xml: string[] = ['zaz']

application/voicexml+xml

application/voicexml+xml: string[] = ['vxml']

application/wasm

application/wasm: string[] = ['wasm']

application/widget

application/widget: string[] = ['wgt']

application/winhlp

application/winhlp: string[] = ['hlp']

application/wsdl+xml

application/wsdl+xml: string[] = ['wsdl']

application/wspolicy+xml

application/wspolicy+xml: string[] = ['wspolicy']

application/x-7z-compressed

application/x-7z-compressed: string[] = ['7z']

application/x-abiword

application/x-abiword: string[] = ['abw']

application/x-ace-compressed

application/x-ace-compressed: string[] = ['ace']

application/x-apple-diskimage

application/x-apple-diskimage: string[] = ['*dmg']

application/x-arj

application/x-arj: string[] = ['arj']

application/x-authorware-bin

application/x-authorware-bin: string[] = ['aab', 'x32', 'u32', 'vox']

application/x-authorware-map

application/x-authorware-map: string[] = ['aam']

application/x-authorware-seg

application/x-authorware-seg: string[] = ['aas']

application/x-bb-appworld

application/x-bb-appworld: string = "bbaw"

application/x-bcpio

application/x-bcpio: string[] = ['bcpio']

application/x-bdoc

application/x-bdoc: string[] = ['*bdoc']

application/x-bittorrent

application/x-bittorrent: string[] = ['torrent']

application/x-blorb

application/x-blorb: string[] = ['blb', 'blorb']

application/x-bzip

application/x-bzip: string[] = ['bz']

application/x-bzip2

application/x-bzip2: string[] = ['bz2', 'boz']

application/x-cbr

application/x-cbr: string[] = ['cbr', 'cba', 'cbt', 'cbz', 'cb7']

application/x-cd-image

application/x-cd-image: string = "iso"

application/x-cdlink

application/x-cdlink: string[] = ['vcd']

application/x-cfs-compressed

application/x-cfs-compressed: string[] = ['cfs']

application/x-chat

application/x-chat: string[] = ['chat']

application/x-chess-pgn

application/x-chess-pgn: string[] = ['pgn']

application/x-chrome-extension

application/x-chrome-extension: string[] = ['crx']

application/x-cocoa

application/x-cocoa: string[] = ['cco']

application/x-conference

application/x-conference: string[] = ['nsc']

application/x-cpio

application/x-cpio: string[] = ['cpio']

application/x-csh

application/x-csh: string[] = ['csh']

application/x-debian-package

application/x-debian-package: string[] = ['*deb', 'udeb']

application/x-desktop

application/x-desktop: string = "desktop"

application/x-dgc-compressed

application/x-dgc-compressed: string[] = ['dgc']

application/x-director

application/x-director: string[] = ['dir', 'dcr', 'dxr', 'cst', 'cct', 'cxt', 'w3d', 'fgd', 'swa']

application/x-doom

application/x-doom: string[] = ['wad']

application/x-dtbncx+xml

application/x-dtbncx+xml: string[] = ['ncx']

application/x-dtbook+xml

application/x-dtbook+xml: string[] = ['dtb']

application/x-dtbresource+xml

application/x-dtbresource+xml: string[] = ['res']

application/x-dvi

application/x-dvi: string[] = ['dvi']

application/x-envoy

application/x-envoy: string[] = ['evy']

application/x-eva

application/x-eva: string[] = ['eva']

application/x-font-bdf

application/x-font-bdf: string[] = ['bdf']

application/x-font-ghostscript

application/x-font-ghostscript: string[] = ['gsf']

application/x-font-linux-psf

application/x-font-linux-psf: string[] = ['psf']

application/x-font-pcf

application/x-font-pcf: string[] = ['pcf']

application/x-font-snf

application/x-font-snf: string[] = ['snf']

application/x-font-ttf

application/x-font-ttf: string[] = ['ttc', 'ttf']

application/x-font-type1

application/x-font-type1: string[] = ['pfa', 'pfb', 'pfm', 'afm']

application/x-freearc

application/x-freearc: string[] = ['arc']

application/x-futuresplash

application/x-futuresplash: string[] = ['spl']

application/x-gca-compressed

application/x-gca-compressed: string[] = ['gca']

application/x-glulx

application/x-glulx: string[] = ['ulx']

application/x-gnumeric

application/x-gnumeric: string[] = ['gnumeric']

application/x-gramps-xml

application/x-gramps-xml: string[] = ['gramps']

application/x-gtar

application/x-gtar: string[] = ['gtar']

application/x-hdf

application/x-hdf: string[] = ['hdf']

application/x-httpd-php

application/x-httpd-php: string[] = ['php']

application/x-install-instructions

application/x-install-instructions: string[] = ['install']

application/x-iso9660-image

application/x-iso9660-image: string[] = ['*iso']

application/x-java-archive

application/x-java-archive: string = "jar"

application/x-java-archive-diff

application/x-java-archive-diff: string[] = ['jardiff']

application/x-java-jnlp-file

application/x-java-jnlp-file: string[] = ['jnlp']

application/x-latex

application/x-latex: string[] = ['latex']

application/x-lua-bytecode

application/x-lua-bytecode: string[] = ['luac']

application/x-lzh-compressed

application/x-lzh-compressed: string[] = ['lzh', 'lha']

application/x-makeself

application/x-makeself: string[] = ['run']

application/x-mie

application/x-mie: string[] = ['mie']

application/x-mobipocket-ebook

application/x-mobipocket-ebook: string[] = ['prc', 'mobi']

application/x-ms

application/x-ms: string = "ms"

application/x-ms-application

application/x-ms-application: string[] = ['application']

application/x-ms-dos-executable

application/x-ms-dos-executable: string = "exe"

application/x-ms-shortcut

application/x-ms-shortcut: string[] = ['lnk']

application/x-ms-wmd

application/x-ms-wmd: string[] = ['wmd']

application/x-ms-wmz

application/x-ms-wmz: string[] = ['wmz']

application/x-ms-xbap

application/x-ms-xbap: string[] = ['xbap']

application/x-msaccess

application/x-msaccess: string[] = ['mdb']

application/x-msbinder

application/x-msbinder: string[] = ['obd']

application/x-mscardfile

application/x-mscardfile: string[] = ['crd']

application/x-msclip

application/x-msclip: string[] = ['clp']

application/x-msdos-program

application/x-msdos-program: string[] = ['*exe']

application/x-msdownload

application/x-msdownload: string[] = ['*exe', '*dll', 'com', 'bat', '*msi']

application/x-msi

application/x-msi: string = "msi"

application/x-msmediaview

application/x-msmediaview: string[] = ['mvb', 'm13', 'm14']

application/x-msmetafile

application/x-msmetafile: string[] = ['*wmf', '*wmz', '*emf', 'emz']

application/x-msmoney

application/x-msmoney: string[] = ['mny']

application/x-mspublisher

application/x-mspublisher: string[] = ['pub']

application/x-msschedule

application/x-msschedule: string[] = ['scd']

application/x-msterminal

application/x-msterminal: string[] = ['trm']

application/x-mswrite

application/x-mswrite: string[] = ['wri']

application/x-netcdf

application/x-netcdf: string[] = ['nc', 'cdf']

application/x-ns-proxy-autoconfig

application/x-ns-proxy-autoconfig: string[] = ['pac']

application/x-nzb

application/x-nzb: string[] = ['nzb']

application/x-opera-extension

application/x-opera-extension: string = "oex"

application/x-perl

application/x-perl: string[] = ['pl', 'pm']

application/x-pilot

application/x-pilot: string[] = ['*prc', '*pdb']

application/x-pkcs12

application/x-pkcs12: string[] = ['p12', 'pfx']

application/x-pkcs7-certificates

application/x-pkcs7-certificates: string[] = ['p7b', 'spc']

application/x-pkcs7-certreqresp

application/x-pkcs7-certreqresp: string[] = ['p7r']

application/x-rar-compressed

application/x-rar-compressed: string[] = ['rar']

application/x-redhat-package-manager

application/x-redhat-package-manager: string[] = ['rpm']

application/x-research-info-systems

application/x-research-info-systems: string[] = ['ris']

application/x-sea

application/x-sea: string[] = ['sea']

application/x-sh

application/x-sh: string[] = ['sh']

application/x-shar

application/x-shar: string[] = ['shar']

application/x-sharedlib

application/x-sharedlib: string = "so"

application/x-shockwave-flash

application/x-shockwave-flash: string[] = ['swf']

application/x-silverlight-app

application/x-silverlight-app: string[] = ['xap']

application/x-sql

application/x-sql: string[] = ['sql']

application/x-stuffit

application/x-stuffit: string[] = ['sit']

application/x-stuffitx

application/x-stuffitx: string[] = ['sitx']

application/x-subrip

application/x-subrip: string[] = ['srt']

application/x-sv4cpio

application/x-sv4cpio: string[] = ['sv4cpio']

application/x-sv4crc

application/x-sv4crc: string[] = ['sv4crc']

application/x-t3vm-image

application/x-t3vm-image: string[] = ['t3']

application/x-tads

application/x-tads: string[] = ['gam']

application/x-tar

application/x-tar: string[] = ['tar']

application/x-tcl

application/x-tcl: string[] = ['tcl', 'tk']

application/x-tex

application/x-tex: string[] = ['tex']

application/x-tex-tfm

application/x-tex-tfm: string[] = ['tfm']

application/x-texinfo

application/x-texinfo: string[] = ['texinfo', 'texi']

application/x-tgif

application/x-tgif: string[] = ['obj']

application/x-typescript

application/x-typescript: string = "ts"

application/x-ustar

application/x-ustar: string[] = ['ustar']

application/x-virtualbox-hdd

application/x-virtualbox-hdd: string[] = ['hdd']

application/x-virtualbox-ova

application/x-virtualbox-ova: string[] = ['ova']

application/x-virtualbox-ovf

application/x-virtualbox-ovf: string[] = ['ovf']

application/x-virtualbox-vbox

application/x-virtualbox-vbox: string[] = ['vbox']

application/x-virtualbox-vbox-extpack

application/x-virtualbox-vbox-extpack: string[] = ['vbox-extpack']

application/x-virtualbox-vdi

application/x-virtualbox-vdi: string[] = ['vdi']

application/x-virtualbox-vhd

application/x-virtualbox-vhd: string[] = ['vhd']

application/x-virtualbox-vmdk

application/x-virtualbox-vmdk: string[] = ['vmdk']

application/x-wais-source

application/x-wais-source: string[] = ['src']

application/x-web-app-manifest+json

application/x-web-app-manifest+json: string[] = ['webapp']

application/x-x509-ca-cert

application/x-x509-ca-cert: string[] = ['der', 'crt', 'pem']

application/x-xfig

application/x-xfig: string[] = ['fig']

application/x-xliff+xml

application/x-xliff+xml: string[] = ['xlf']

application/x-xpinstall

application/x-xpinstall: string[] = ['xpi']

application/x-xz

application/x-xz: string[] = ['xz']

application/x-zmachine

application/x-zmachine: string[] = ['z1', 'z2', 'z3', 'z4', 'z5', 'z6', 'z7', 'z8']

application/xaml+xml

application/xaml+xml: string[] = ['xaml']

application/xcap-diff+xml

application/xcap-diff+xml: string[] = ['xdf']

application/xenc+xml

application/xenc+xml: string[] = ['xenc']

application/xhtml+xml

application/xhtml+xml: string[] = ['xhtml', 'xht']

application/xml

application/xml: string[] = ['xml', 'xsl', 'xsd', 'rng']

application/xml-dtd

application/xml-dtd: string[] = ['dtd']

application/xop+xml

application/xop+xml: string[] = ['xop']

application/xproc+xml

application/xproc+xml: string[] = ['xpl']

application/xslt+xml

application/xslt+xml: string[] = ['xslt']

application/xspf+xml

application/xspf+xml: string[] = ['xspf']

application/xv+xml

application/xv+xml: string[] = ['mxml', 'xhvml', 'xvml', 'xvm']

application/yang

application/yang: string[] = ['yang']

application/yin+xml

application/yin+xml: string[] = ['yin']

application/zip

application/zip: string[] = ['zip']

audio/3gpp

audio/3gpp: string[] = ['*3gpp']

audio/adpcm

audio/adpcm: string[] = ['adp']

audio/basic

audio/basic: string[] = ['au', 'snd']

audio/midi

audio/midi: string[] = ['mid', 'midi', 'kar', 'rmi']

audio/mp3

audio/mp3: string[] = ['*mp3']

audio/mp4

audio/mp4: string[] = ['m4a', 'mp4a']

audio/mpeg

audio/mpeg: string[] = ['mpga', 'mp2', 'mp2a', 'mp3', 'm2a', 'm3a']

audio/ogg

audio/ogg: string[] = ['oga', 'ogg', 'spx']

audio/s3m

audio/s3m: string[] = ['s3m']

audio/silk

audio/silk: string[] = ['sil']

audio/vnd.dece.audio

audio/vnd.dece.audio: string[] = ['uva', 'uvva']

audio/vnd.digital-winds

audio/vnd.digital-winds: string[] = ['eol']

audio/vnd.dra

audio/vnd.dra: string[] = ['dra']

audio/vnd.dts

audio/vnd.dts: string[] = ['dts']

audio/vnd.dts.hd

audio/vnd.dts.hd: string[] = ['dtshd']

audio/vnd.lucent.voice

audio/vnd.lucent.voice: string[] = ['lvp']

audio/vnd.ms-playready.media.pya

audio/vnd.ms-playready.media.pya: string[] = ['pya']

audio/vnd.nuera.ecelp4800

audio/vnd.nuera.ecelp4800: string[] = ['ecelp4800']

audio/vnd.nuera.ecelp7470

audio/vnd.nuera.ecelp7470: string[] = ['ecelp7470']

audio/vnd.nuera.ecelp9600

audio/vnd.nuera.ecelp9600: string[] = ['ecelp9600']

audio/vnd.rip

audio/vnd.rip: string[] = ['rip']

audio/wav

audio/wav: string[] = ['wav']

audio/wave

audio/wave: string[] = ['*wav']

audio/webm

audio/webm: string[] = ['weba']

audio/x-aac

audio/x-aac: string[] = ['aac']

audio/x-aiff

audio/x-aiff: string[] = ['aif', 'aiff', 'aifc']

audio/x-caf

audio/x-caf: string[] = ['caf']

audio/x-flac

audio/x-flac: string[] = ['flac']

audio/x-m4a

audio/x-m4a: string[] = ['*m4a']

audio/x-matroska

audio/x-matroska: string[] = ['mka']

audio/x-mpegurl

audio/x-mpegurl: string[] = ['m3u']

audio/x-ms-wax

audio/x-ms-wax: string[] = ['wax']

audio/x-ms-wma

audio/x-ms-wma: string[] = ['wma']

audio/x-pn-realaudio

audio/x-pn-realaudio: string[] = ['ram', 'ra']

audio/x-pn-realaudio-plugin

audio/x-pn-realaudio-plugin: string[] = ['rmp']

audio/x-realaudio

audio/x-realaudio: string[] = ['*ra']

audio/x-wav

audio/x-wav: string[] = ['*wav']

audio/xm

audio/xm: string[] = ['xm']

chemical/x-cdx

chemical/x-cdx: string[] = ['cdx']

chemical/x-cif

chemical/x-cif: string[] = ['cif']

chemical/x-cmdf

chemical/x-cmdf: string[] = ['cmdf']

chemical/x-cml

chemical/x-cml: string[] = ['cml']

chemical/x-csml

chemical/x-csml: string[] = ['csml']

chemical/x-xyz

chemical/x-xyz: string[] = ['xyz']

font/collection

font/collection: string[] = ['ttc']

font/opentype

font/opentype: string = "otf"

font/otf

font/otf: string[] = ['otf']

font/ttf

font/ttf: string[] = ['ttf']

font/woff

font/woff: string[] = ['woff']

font/woff2

font/woff2: string[] = ['woff2']

image/aces

image/aces: string[] = ['exr']

image/apng

image/apng: string[] = ['apng']

image/bmp

image/bmp: string[] = ['bmp']

image/cgm

image/cgm: string[] = ['cgm']

image/dicom-rle

image/dicom-rle: string[] = ['drle']

image/emf

image/emf: string[] = ['emf']

image/fits

image/fits: string[] = ['fits']

image/g3fax

image/g3fax: string[] = ['g3']

image/gif

image/gif: string[] = ['gif']

image/heic

image/heic: string[] = ['heic']

image/heic-sequence

image/heic-sequence: string[] = ['heics']

image/heif

image/heif: string[] = ['heif']

image/heif-sequence

image/heif-sequence: string[] = ['heifs']

image/ief

image/ief: string[] = ['ief']

image/jls

image/jls: string[] = ['jls']

image/jp2

image/jp2: string[] = ['jp2', 'jpg2']

image/jpeg

image/jpeg: string[] = ['jpeg', 'jpg', 'jpe']

image/jpm

image/jpm: string[] = ['jpm']

image/jpx

image/jpx: string[] = ['jpx', 'jpf']

image/jxr

image/jxr: string[] = ['jxr']

image/ktx

image/ktx: string[] = ['ktx']

image/png

image/png: string[] = ['png']

image/prs.btif

image/prs.btif: string[] = ['btif']

image/prs.pti

image/prs.pti: string[] = ['pti']

image/sgi

image/sgi: string[] = ['sgi']

image/svg+xml

image/svg+xml: string[] = ['svg', 'svgz']

image/t38

image/t38: string[] = ['t38']

image/tiff

image/tiff: string[] = ['tif', 'tiff']

image/tiff-fx

image/tiff-fx: string[] = ['tfx']

image/vnd.adobe.photoshop

image/vnd.adobe.photoshop: string[] = ['psd']

image/vnd.airzip.accelerator.azv

image/vnd.airzip.accelerator.azv: string[] = ['azv']

image/vnd.dece.graphic

image/vnd.dece.graphic: string[] = ['uvi', 'uvvi', 'uvg', 'uvvg']

image/vnd.djvu

image/vnd.djvu: string[] = ['djvu', 'djv']

image/vnd.dvb.subtitle

image/vnd.dvb.subtitle: string[] = ['*sub']

image/vnd.dwg

image/vnd.dwg: string[] = ['dwg']

image/vnd.dxf

image/vnd.dxf: string[] = ['dxf']

image/vnd.fastbidsheet

image/vnd.fastbidsheet: string[] = ['fbs']

image/vnd.fpx

image/vnd.fpx: string[] = ['fpx']

image/vnd.fst

image/vnd.fst: string[] = ['fst']

image/vnd.fujixerox.edmics-mmr

image/vnd.fujixerox.edmics-mmr: string[] = ['mmr']

image/vnd.fujixerox.edmics-rlc

image/vnd.fujixerox.edmics-rlc: string[] = ['rlc']

image/vnd.microsoft.icon

image/vnd.microsoft.icon: string[] = ['ico']

image/vnd.ms-modi

image/vnd.ms-modi: string[] = ['mdi']

image/vnd.ms-photo

image/vnd.ms-photo: string[] = ['wdp']

image/vnd.net-fpx

image/vnd.net-fpx: string[] = ['npx']

image/vnd.tencent.tap

image/vnd.tencent.tap: string[] = ['tap']

image/vnd.valve.source.texture

image/vnd.valve.source.texture: string[] = ['vtf']

image/vnd.wap.wbmp

image/vnd.wap.wbmp: string[] = ['wbmp']

image/vnd.xiff

image/vnd.xiff: string[] = ['xif']

image/vnd.zbrush.pcx

image/vnd.zbrush.pcx: string[] = ['pcx']

image/webp

image/webp: string[] = ['webp']

image/wmf

image/wmf: string[] = ['wmf']

image/x-3ds

image/x-3ds: string[] = ['3ds']

image/x-cmu-raster

image/x-cmu-raster: string[] = ['ras']

image/x-cmx

image/x-cmx: string[] = ['cmx']

image/x-freehand

image/x-freehand: string[] = ['fh', 'fhc', 'fh4', 'fh5', 'fh7']

image/x-icon

image/x-icon: string[] = ['*ico']

image/x-jng

image/x-jng: string[] = ['jng']

image/x-mrsid-image