index.js
function allStars (query) {
  if (typeof query === 'string') return lookupString(query)
  else if (Array.isArray(query)) return lookupArray(query)
  else if (typeof query === 'object') return lookupObject(query)
  return null
}
function allStars (query) {
  if (typeof query === 'string') return lookupString(query)
  else if (Array.isArray(query)) return lookupArray(query)
  else if (typeof query === 'object') return lookupObject(query)
  return null
}
function allStars ( query ) { if ( typeof query === 'string' ) return lookupString ( query ) else if ( Array . isArray ( query ) ) return lookupArray ( query ) else if ( typeof query === 'object' ) return lookupObject ( query ) return null }
main API for querying
main API for querying