@robinbobin/mimetype-constants
Version:
Extensible MIME constants with typescript support
16 lines (13 loc) • 338 B
text/typescript
import type { TImageTypeGroup } from './types'
import { createTypeGroup } from '../createTypeGroup'
export const image: TImageTypeGroup = createTypeGroup('image', {
avif: 'avif',
bmp: 'bmp',
gif: 'gif',
jpeg: 'jpeg',
png: 'png',
svgXml: 'svg+xml',
tiff: 'tiff',
vndMicrosoftIcon: 'vnd.microsoft.icon',
webp: 'webp'
})