has-uber

Check if Uber is available in your city

MIT License

Downloads
9
Stars
1
Committers
3

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

License

MIT © Bu Kinoshita