1.2.0 • Published 3 years ago

aws-info v1.2.0

Weekly downloads
32,088
License
MIT
Repository
github
Last release
3 years ago

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 ...