has-uber

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i has-uber

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

3.64 kB

Total Files

10

Last publish

Collaborators

  • bukinoshita