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 🙏

© 2026 – Pkg Stats / Ryan Hefner

astu

v0.0.5

Published

A tool for generating AWS security tokens

Readme

ASTU a.k.a. AWS security token utility

A tool to help developers easily work with temporary security tokens between different accounts in AWS.

Prerequisites

All master credential profiles are profiles in the ".aws/credentials" -file that have the right to change role in one or several AWS accounts. Basically it uses AWS STS to generate a temporary token.

These profiles needs to be defined in ".aws/credentials" -file. If there are MFA then the serial must be included.

[a_master_credential]
aws_access_key_id = <access-key>
aws_secret_access_key = <secret-access-key>
mfa_serial = arn:aws:iam::<account-id>:mfa/<iam-user-name>
[a_role_in_an_account]
region = eu-west-1
role_arn = arn:aws:iam::<account-id>:role/<role>
source_profile = a_master_credential-temp
output = json

The *-temp profile is the temporary token that has been generated.

Installation

It is preferable to install it globally if there are many projects using it, but otherwise it can be installed within a project. However, note that the configuration is stored in the user home directory, so if there are several instances of it, they will all use the same configuration file.

> npm install -g astu

Usage

The command syntax is using the following pattern:

> astu [options] [commands]

Options

--version ( or: -V ) Output the version number

> astu --version

--verbose ( or: -v ) *Add this to any command to see more details *

> astu --version

--help ( or: -h ) Output usage information

> astu --version

Commands

( "" ) If no arguments are entered the usage information will displayed (see options -h, --help)*

> astu

( <profile> ) Generate a temporary token for a specific given master credential profile

> astu <profile>

generate ( or: g ) Generate temporary token for all configured master credential profiles (see config)

> astu [options] g|generate

information ( or: i ) Details of current environment and settings

> astu [options] i|information

config ( or: c ) Select default profile and master credentials

> astu [options] c|config

update ( or: u ) The tool will indicate when running if any update is available, if so, this command will update to latest version.

> astu [options] u|update