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

@leash/cli

v0.1.5

Published

Deploy web applications with one command. Supports Next.js, Expo, Vite, and Node.js.

Readme

Leash CLI

The simplest way to deploy your web applications. One command. Any framework.

Installation

npm install -g @leash/cli

Quick Start

# 1. Create an account
leash register

# 2. Go to your project directory
cd my-app

# 3. Deploy (auto-detects framework)
leash deploy

# Your app is live at https://leash.build/username/my-app

Supported Frameworks

  • Next.js - Full-stack React applications
  • Expo / React Native - Mobile apps deployed as web
  • Vite - Modern frontend applications
  • Any Node.js app - Generic Node.js applications

Commands

Authentication

leash register          # Create a new account
leash login             # Log in to your account
leash logout            # Log out
leash whoami            # Show current user

Deployment

leash deploy                        # Deploy current project
leash deploy --message "Bug fix"    # Deploy with message

App Management

leash init                  # Initialize app in current directory
leash init --name my-app    # Initialize with custom name
leash apps:list             # List all your apps
leash apps:delete <appId>   # Delete an app

Environment Variables

leash env:set KEY value     # Set environment variable
leash env:list              # List all variables
leash env:delete KEY        # Delete a variable

Databases

leash db:create                           # Create database (interactive)
leash db:create --type postgres --name db # Create with options
leash db:list                             # List all databases
leash db:connect <id>                     # Get connection details
leash db:delete <id>                      # Delete database

Logs

leash logs              # View recent logs
leash logs --lines 200  # View more lines
leash logs --follow     # Stream logs live

Configuration

leash config                    # Show current config
leash config:set-url <url>      # Set API URL (advanced)
leash config:get-url            # Get current API URL
leash config:reset              # Reset to defaults

Configuration Files

Global config stored in ~/.leash/config.json:

{
  "apiUrl": "https://leash.build/api",
  "token": "your-auth-token"
}

Project config stored in .leash/config.json:

{
  "appId": "app_123",
  "appName": "my-app"
}

Environment Variables

  • LEASH_API_URL - Override API URL
  • LEASH_DEV=1 - Use localhost for development

Links

  • Website: https://leash.build
  • Documentation: https://leash.build/docs