Package Exports
- aws-locate
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aws-locate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
aws-locate
Locate the region and/or availability zone for a node process running on EC2
// to get the availability zone:
require('aws-locate').getAvailabilityZone(function (err, zone) {
console.log(zone)
})
// to get the region
require ('aws-locate').getRegion(function (err, region) {
console.log(region)
})