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

s3-switch

v1.0.0

Published

Switch between multiple s3cfg files from the command line

Readme

S3 Switch

Switch between multiple .s3cfg files from the command line.

npm version License: MIT pnpm

Features

  • 🔄 Manage multiple S3 configurations
  • ⚡ Quick switching between different S3 accounts
  • 💬 Interactive prompts for easy configuration management
  • 🎯 Simple and intuitive CLI interface

Installation

npm install -g s3-switch

Usage

Usage s3-switch GIF

Get Version

s3s -v
# or
s3s --version

Commands

s3s add <file> [-n, --name <name>]

Add a new S3 configuration from an existing .s3cfg file.

s3s ls

List all saved S3 configurations. The currently active configuration is marked with *.

s3s use [name]

Switch to a specific S3 configuration. If no name is provided, an interactive prompt will appear.

s3s save <name>

Save the current .s3cfg file with a specific name.

s3s rm [name]

Delete a saved S3 configuration. If no name is provided, an interactive prompt will appear.

s3s mv [-s, --source <source>] [-d, --dest <dest>]

Rename a saved S3 configuration.

Examples

# Add a new configuration
s3s add ~/.s3cfg-production --name production

# List all configurations
s3s ls

# Switch to production configuration
s3s use production

# Save current configuration
s3s save development

# Remove a configuration
s3s rm old-config

How It Works

s3-switch stores your S3 configurations in ~/.s3-switch/ and manages your active ~/.s3cfg file by copying the selected configuration to it.

Requirements

  • Node.js >= 18
  • s3cmd (for using the S3 configurations)

Development

This project is written in TypeScript and maintained with pnpm.

Prerequisites

  • Node.js >= 18
  • pnpm (recommended) or npm

Setup

pnpm install

Build

pnpm run build

Test

pnpm test

# Watch mode
pnpm run test:watch

Type Check

pnpm run typecheck

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for details.

License

MIT