packages/audio-pack/index.js
function audioExt (name) {
  var ext = path.extname(name)
  return ['.wav', '.ogg', '.mp3'].indexOf(ext) > -1 ? ext : null
}
function audioExt (name) {
  var ext = path.extname(name)
  return ['.wav', '.ogg', '.mp3'].indexOf(ext) > -1 ? ext : null
}
function audioExt ( name ) { var ext = path . extname ( name ) return [ '.wav' , '.ogg' , '.mp3' ] . indexOf ( ext ) > - 1 ? ext : null }
Return the extension of a filename if its a valid web audio format extension
Return the extension of a filename if its a valid web audio format extension