1.1.0 • Published 8 years ago
aws-read-region v1.1.0
read-region
Read the AWS region from environment variables or ~/.aws config.
Installation
$ npm install aws-read-region
Usage
const readRegion = require('aws-read-region')
readRegion().then(config => config) // => {region: "us-west-2"}
API
readRegion()
Returns: returns object with region set
License
MIT