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

scaff-up

v1.4.1

Published

A cross-platform developer CLI for project workspace registration, resolution, and launching.

Readme

scaff — your projects, one word away

Stop cd-ing through 6 folders to find that one repo. scaff remembers where your code lives.

scaff is a tiny, cross-platform CLI that lets you register zones (workspace roots) and then jump to any project by name — from anywhere.

scaff .                     # add current dir as zone (prompts name)
scaff -zone add hot ~/dev
scaff -zone hot hot

scaff my-api                # -> ~/dev/my-api  (hot zone, cds with shell integration)
scaff :new                  # -> hot:new  (shorthand)
scaff work:scaff            # -> ~/work/scaff  (explicit zone)
scaff new my-app            # scaffold new project (only command without -)

Why scaff?

  • Zones — name your workspace roots once, one dir per zone.
  • Hot zone — mark one zone as hot for bare scaff <name> and scaff :<name> shorthand.
  • 1-word jumpsscaff <name> resolves in hot zone; scaff :<name> is same.
  • Explicitscaff <zone>:<name> hits any zone.
  • Interactive listscaff -list [query] picker with [hot] label via enquirer.
  • Actually cds you — shell wrappers mean scaff <project> changes your shell's directory.
  • Cross-platform — Windows, macOS, Linux. PowerShell, bash, zsh.

Install

pnpm add -g scaff-up
npm i -g scaff-up
bun add -g scaff-up

From source

pnpm install
pnpm build        # -> dist/
pnpm dev -- -help

Requires: Node.js 18+

Quick start

# 1. Add current directory as zone
scaff .                     # prompts: zone name -> make hot?

# Or manually
scaff -zone add hot ~/projects
scaff -zone hot hot

# 2. Jump
scaff my-cool-app           # hot zone
scaff :my-cool-app          # same, shorthand
scaff work:internal-tool    # explicit zone

# 3. Interactive list (hot label) — cds into picked
scaff -list                 # picker, [hot] marked, cds
scaff list api              # same without -, filter + cds
scaff -add                  # interactive add zone

Shell integration — the magic cd

scaff ships wrappers:

  • shell/scaff.ps1 — PowerShell
  • shell/scaff.sh — bash / zsh

Auto-setup on first use. Manual: source shell/scaff.sh or . .\shell\scaff.ps1.

Commands

| Command | What it does | |---|---| | scaff <name> | Resolve <name> in hot zone (cds) | | scaff :<name> | Shorthand for hot:<name> | | scaff <zone>:<name> | Resolve in specific zone | | scaff . | Add current dir as zone (interactive) | | scaff new [name] | Scaffold new project (only command without -, interactive) | | scaff list [query] / -list | Interactive list with [hot] label — cds into picked project | | scaff -open [name] | Open project (prompts if no name, also cds) | | scaff -add [name] [dir] | Add zone (interactive, shows hot switch) | | scaff -hot [name] | Set hot (picker if no name) | | scaff -help / -h | Show help | | scaff -version / -v | Print version |

Zone management

scaff -zone add <name> <dir>    # single dir per zone
scaff -zone rm <name>
scaff -zone ls                  # marks [hot]
scaff -zone hot <name>          # set hot zone
scaff -zone hot --clear         # clear hot
scaff -zone info <name>         # show zone dir

Zone names can't start with - or contain : or be .. One directory per zone.

Addressing

<name>        -> hot zone
:<name>       -> hot:<name> shorthand
<zone>:<name> -> specific zone
scaff .       -> add cwd as zone

Configuration

  • Stored as config.json in OS config dir:
    • Windows: %APPDATA%\scaff\
    • macOS: ~/Library/Application Support/scaff/
    • Linux: ~/.config/scaff/
  • Override with SCAFF_CONFIG_DIR=/custom/path
  • Shape: { version: 3, zones: Record<string, string>, hot: string | null }
  • v1 wipes old v2 data (multi-dir zones, primary) on first run — re-add zones.

Development

pnpm dev          # tsx src/cli/main.ts
pnpm test         # vitest run
pnpm build        # tsup -> dist/
pnpm start        # node dist/main.js

License

MIT