npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@eumentis/aws

v0.0.1

Published

A powerful CLI tool that automates AWS SSO configuration and profile management across multiple AWS accounts and roles.

Readme

Eumentis CLI for AWS

A powerful CLI tool that automates AWS SSO configuration and profile management across multiple AWS accounts and roles.

Quick Start

npx @eumentis/aws config --ssoStartUrl <url> --awsRegion <region>

Then use any AWS CLI command like:

aws s3 ls --profile 111122223333_AdministratorAccess

What It Does

  • Creates or updates AWS SSO config in ~/.aws/config
  • Authenticates your SSO session via login flow
  • Fetches all your available AWS accounts and roles
  • Generates AWS CLI profiles for each role
  • Adds account name comments for clarity

Prerequisites

How to use

Run the Config Command

npx @eumentis/aws config --ssoStartUrl <url> --awsRegion <region> [--ssoSessionName <name>]

Required Options

  • --ssoStartUrl: Your organization's AWS SSO start URL
    Example: https://your-org.awsapps.com/start

  • --awsRegion: AWS region where your SSO directory is configured
    Example: us-east-1

Optional

  • --ssoSessionName: Name for your SSO session (default: default-sso)

Full Example

npx @eumentis/aws config \
  --ssoStartUrl https://AnyCompany.awsapps.com/start \
  --awsRegion us-east-1

Generated Profile Format

# Account Name (e.g., Production)
[profile 111122223333_AdministratorAccess]
sso_account_id = 111122223333
sso_role_name = AdministratorAccess
sso_session = default-sso
output = json

Using the Generated Profiles

After running the tool, use the profiles like this:

aws s3 ls --profile 111122223333_AdministratorAccess

Or set the profile as your default:

export AWS_PROFILE=111122223333_AdministratorAccess

Benefits

  • Time-saving: Eliminates manual profile setup across accounts
  • Error prevention: Ensures consistent and correct configuration
  • Discovery: Automatically finds all accessible accounts and roles
  • Readability: Adds account names as comments for easy identification
  • Maintenance: Keeps your AWS configuration up-to-date

Troubleshooting

If you encounter issues:

  • Check AWS CLI version: aws --version
  • Validate your session: aws sso login --sso-session <session-name>
  • Confirm SSO URL and region are correct