list-aws-profiles
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

list-aws-profiles

CI Format

Lists local AWS profiles

Requirements

Install

$ npm install list-aws-profiles

Usage

import listAwsProfiles from 'list-aws-profiles';
 
export async function listProfiles() {
    const profiles = await listAwsProfiles();
 
    console.log(profiles); // ["profile1", "profile2"]
 
    return profiles;
}

API

listAwsProfiles()

Asynchronous method that returns the local AWS profiles

Readme

Keywords

Package Sidebar

Install

npm i list-aws-profiles

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.62 kB

Total Files

6

Last publish

Collaborators

  • simonja