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

simplecloud

v0.0.1-beta.38

Published

simplecloud.app cli

Downloads

1,852

Readme

SimpleCloud CLI

A command-line interface tool for SimpleCloud.

Development

Prerequisites

  • Node.js >= 18.0.0
  • Bun (for development)

Setup

Install dependencies:

bun install

Development

Development Watcher (Recommended)

Run with automatic rebuilding on file changes:

bun run dev

This will:

  • 🔧 Start a file watcher
  • 📁 Watch all .ts files in src/
  • 🔄 Automatically rebuild dist/ on changes
  • ⚡ Debounced builds (300ms delay)
  • 🛑 Stop with Ctrl+C

Local Package Testing

Create a local package file for testing:

bun run local:pack  # Creates temp/simplecloud.tgz (no version in filename)

Building

Build the CLI for distribution:

bun run build

This creates optimized, minified bundles in the dist/ folder that include all dependencies.

Testing

Test the built CLI:

bun run test:cli

Test specific commands:

node dist/cli.js --help
node dist/cli.js start group test

Local Development

Option 1: Shell Alias (Recommended - No Conflicts)

Create a local scl alias that points to your development build:

bun run local:setup  # Creates 'scl' alias in ~/.zshrc
source ~/.zshrc      # Reload shell config

Now you can use scl for local testing without conflicting with published versions:

scl --help                    # Local development
scl start group mygroup

Pro Tip: Run bun run dev in one terminal and use scl commands in another terminal for seamless development with auto-rebuilding!

Option 2: npm link (Development Symlink)

Creates symlinks to global npm location (uses same command names):

bun run local:link    # Link for development
bun run local:unlink  # Unlink when done

Option 3: Direct Execution

Run the built CLI directly:

bun run build
node dist/cli.js --help
node dist/cli.js start group mygroup

Generating API

bunx swagger-typescript-api generate -p swagger.yaml -o src/lib/generated -n simplecloud-api.ts --sort-types --single-http-client --clean-output

Publishing to npm

  1. Update the version in package.json
  2. Update author, repository, and other metadata fields
  3. Ensure you're logged into npm: npm login
  4. Publish: npm publish

The prepublishOnly script will automatically build the project before publishing.