@robinbobin/mimetype-constants
Version:
Extensible MIME constants with typescript support
22 lines (19 loc) • 436 B
text/typescript
import type { TAudioTypeGroup } from './types'
import { createTypeGroup } from '../createTypeGroup'
export const audio: TAudioTypeGroup = createTypeGroup('audio', {
midi: 'midi',
mp4: 'mp4',
mpeg: 'mpeg',
ogg: 'ogg',
opus: 'opus',
threegpp: '3gpp',
threegpp2: '3gpp2',
wav: 'wav',
webm: 'webm',
xAac: 'x-aac',
xAiff: 'x-aiff',
xMidi: 'x-midi',
xMpegurl: 'x-mpegurl',
xMsWma: 'x-ms-wma',
xWav: 'x-wav'
})