given an ip address, return which cloud provider it belongs to (AWS, GCE, etc)
npm install which-cloud


given an ip address, return which cloud provider it belongs to (EC2, GCE, etc)
``sh`
$ which-cloud 104.196.27.39
gce
if no ip is given, which-cloud will use the public ip of the current host
`sh`
$ which-cloud
AT&T Internet Services (SIS-80)
`sh`
npm i which-cloud -g
`sh`
which-cloud
`sh`
npm i which-cloud --save
`js`
const whichCloud = require('which-cloud')
- ip: string, optional
Determine the cloud provider for this ip
If no ip is given, the public ip of the current host will be used
- callback: function, required
Called with an Error` or the determined cloud provider as a string
* Amazon Web Services (aws).
* Google Compute Engine (gce).
* Azure (azure).
* _fallback to whois lookup._
I would love help adding support for more cloud services.
ISC