dot-types
v0.0.2
Published
List of different media extensions
Downloads
1
Readme
dot-types
List of different media extensions
supported types
- audio
- video
- subtitles
- image
Get Audio Type File Extensions
const dotType = require('dot-types')
console.log(dotType.audio.ext)
[
'aif', 'cda', 'mid',
'midi', 'mp3', 'm4a',
'mpa', 'ogg', 'wav',
'wma', 'wpl'
]
Get Audio Type File Extensions "preceded with a dot"
const dotType = require('dot-type')
console.log(dotType.audio.dotExt)
[
'.aif', '.cda',
'.mid', '.midi',
'.mp3', '.m4a',
'.mpa', '.ogg',
'.wav', '.wma',
'.wpl'
]