has-uber
v2.0.0
Published
Check if Uber is available in your city
Downloads
54
Maintainers
Readme
has-uber
Check if Uber is available in your city
Install
$ yarn add has-uber
Usage
const hasUber = require('has-uber')
await hasUber('brazil')
// ~> true
await hasUber('brazil', 'Sao Paulo')
// ~> true
API
hasUber(country, city)
country
Type: string
Required
Returns a promise
city
Type: string
Optional
Returns a promise
Related
- has-uber-cli — Check if Uber is available in your city with CLI
- uber-availability — The API for this module
License
MIT © Bu Kinoshita