cloud-detector

2.0.0 • Public • Published

Cloud Detector

Small module to detect cloud environment. It will poke around the network and try to figure out which cloud it is and also collect metadata about itself.

Use

cli

npm install -g cloud-detector
cloud-detector

module

require('cloud-detector')(function(err, cloud) {
  console.log(err, cloud)
})

Notes

For now it only supports AWS and GCP, but will gladly accept PRs for other environments 😁 🎉

Changelog

2.0.0

  • Aligned data fetched from all clouds
  • Fetching more data
  • Bugfixes

1.0.x

  • Pre changelog.
  • Initial releae and such 🎉

enjoy.

Readme

Keywords

none

Package Sidebar

Install

npm i cloud-detector

Weekly Downloads

1

Version

2.0.0

License

ISC

Last publish

Collaborators

  • asbjornenge