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

@lendi/ssm-cli

v0.0.1

Published

CLI tool for AWS SSM Parameter Store operations with liam assume integration

Readme

ssm-cli

CLI tool for AWS SSM Parameter Store operations. Authenticates via liam assume before every command.

Install

From the repo root (Yarn workspaces):

yarn install

Usage

ssm-cli -e <environment> [-r <role>] <command> [options]

Global options

| Flag | Description | Default | |---|---|---| | -e, --env | Required. staging | development | production | — | | -r, --role | poweruser | dataaccess | poweruser | | --verbose | Enable verbose logging | off |

Commands

put — Create or update a parameter

# Create a String parameter
ssm-cli -e development put -n /app/config/db_host -v "db.example.com"

# Create a SecureString
ssm-cli -e production -r dataaccess put -n /app/config/db_password -v "secret" -t SecureString --key-id alias/aws/ssm

# Update (overwrite) an existing parameter — creates a new version
ssm-cli -e staging put -n /app/config/db_host -v "new-db.example.com" --overwrite

| Option | Description | Default | |---|---|---| | -n, --name | Parameter name (required) | — | | -v, --value | Parameter value (required) | — | | -t, --type | String | SecureString | String | | --overwrite | Overwrite if exists | false | | --key-id | KMS key for SecureString | — |

get — Read parameter(s)

# Single parameter
ssm-cli -e staging get /app/config/db_host

# Specific version
ssm-cli -e staging get --ver 2 /app/config/db_host

# Decrypt a SecureString
ssm-cli -e production -r dataaccess get -d /app/config/db_password

# Multiple parameters at once
ssm-cli -e staging get /app/config/db_host /app/config/db_user

| Option | Description | |---|---| | -d, --decrypt | Decrypt SecureString values | | --ver <n> | Read a specific version (single param only) | | --json | Output raw JSON |

get-by-path — Read parameters by path hierarchy

ssm-cli -e staging get-by-path /app/config/

# With decryption
ssm-cli -e production -r dataaccess get-by-path /app/config/ -d

# Non-recursive
ssm-cli -e staging get-by-path /app/config/ --no-recursive

list — List parameters (metadata only)

ssm-cli -e staging list

# Filter by path
ssm-cli -e staging list -p /app/config/

history — View version history

ssm-cli -e staging history /app/config/db_host

# Limit results
ssm-cli -e staging history /app/config/db_host --max 5

rollback — Rollback to a previous version

Re-puts the old version's value as a new version.

ssm-cli -e staging rollback /app/config/db_host --ver 2

# Skip confirmation prompt
ssm-cli -e staging rollback /app/config/db_host --ver 2 -y

delete — Delete parameter(s)

Irreversible. Prompts for confirmation by default.

ssm-cli -e staging delete /app/config/db_host

# Delete multiple
ssm-cli -e staging delete /app/config/db_host /app/config/db_user

# Skip confirmation
ssm-cli -e staging delete /app/config/db_host -y

tag — Tag a parameter

ssm-cli -e staging tag /app/config/db_host --tags env=prod,team=backend

Authentication

Every command runs liam assume -e <environment> -r <role> before executing. This:

  1. Fetches temporary AWS credentials
  2. May open a browser window for console login
  3. Loads the exported credentials (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN) into the session

The process waits up to 5 minutes for the browser login to complete.