Package Exports
- aws-info
- aws-info/aws-info.js
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-info) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
aws-info
const { endpoint, regionName } = require('aws-info');
// https://s3.amazonzaws.com
const s3Endpoint = endpoint('S3', 'us-east-1');
// Canada (Central)
const name = regionName('ca-central-1');You can also access the raw data:
const { data } = require('aws-info');
// data.regions ...
// data.services ...