1.0.1 • Published 5 years ago

list-aws-profiles v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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