aws-read-region

1.1.0 • Public • Published

read-region

Build status Git tag NPM version Code style

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

Readme

Keywords

none

Package Sidebar

Install

npm i aws-read-region

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • joshrtay