1.0.2 • Published 6 years ago

closest-azure v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

closest-azure

npm badge

Finds the closest azure region :cloud: :earth_americas:

readme logo

This module relies on CNAME conventions :sparkles:

Determine the closest Azure region, by issuing dns queries. Install with npm install closest-azure.

const closestAzure = require('closest-azure')

closestAzure().then((regionNameStr) => {
    console.log(`you are closest to ${regionNameStr}`)
})

As you can see, closest-azure is a function, that returns a Promise. That promise resolves to a string - the name of an azure region.

License

MIT

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago