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

@deloc/cli

v0.3.0

Published

Deploy static web apps and get a shareable URL in seconds

Downloads

1,052

Readme

@deloc/cli

CLI for Deloc — the fastest way to deploy a static web app and get a shareable URL.

npx @deloc/cli deploy

That's it. The CLI builds your project (if needed), uploads the output, and prints a live URL.

npm License: MIT

Quick start

# Sign in (opens browser)
npx @deloc/cli login

# Deploy the current project
npx @deloc/cli deploy

# Deploy with a custom name
npx @deloc/cli deploy --name my-dashboard

# Deploy with password protection
npx @deloc/cli deploy --password

# List your apps
npx @deloc/cli list

# Check account info
npx @deloc/cli whoami

Install globally (optional)

If you prefer not to use npx every time:

npm install -g @deloc/cli
deloc deploy

All commands

| Command | Description | |---------|-------------| | deloc login | Authenticate via browser (Google / Microsoft) | | deloc deploy [dir] | Deploy a project. Auto-detects build output if dir not given. | | deloc list | List your apps with URLs and status | | deloc status <slug> | Show app details (size, bandwidth, expiry) | | deloc open <slug> | Open an app in your browser | | deloc disable <slug> | Take an app offline | | deloc enable <slug> | Re-enable a disabled app | | deloc delete <slug> | Permanently delete an app | | deloc renew <slug> | Extend a free-tier app's expiry by 30 days | | deloc password <slug> | Set or remove password protection | | deloc whoami | Show signed-in account info | | deloc upgrade | Open the upgrade page | | deloc tokens list | List your API tokens | | deloc tokens create | Create a new API token (for CI/CD) | | deloc tokens revoke | Revoke an API token | | deloc logout | Sign out and clear stored credentials |

Run any command with --help for full options.

Deploy details

deloc deploy automatically:

  1. Detects your project type (Vite, Next.js, Astro, Remix, plain HTML, etc.)
  2. Runs your build command if there's no existing build output
  3. Finds the build output (dist/, build/, out/, .next/, etc.)
  4. Validates that an index.html exists
  5. Zips and uploads
  6. Returns a live URL (and copies it to your clipboard)

Override any step:

deloc deploy ./dist           # skip build, use this folder
deloc deploy --name q3-revenue --password

Environment variables

| Variable | Description | Default | |----------|-------------|---------| | DELOC_TOKEN | API token (overrides ~/.deloc/config.json) | unset | | DELOC_API_URL | API endpoint | https://api.deloc.dev | | DELOC_WEB_URL | Web dashboard URL (for opening pricing/account pages) | https://deloc.dev |

Free tier

Three live apps, 100MB total storage, 30-day auto-expiry, 1GB bandwidth per app per month. Password protection included. See deloc.dev/pricing for paid tiers.

Development

This package lives in the delocdev/deloc monorepo. See the root CONTRIBUTING.md for local dev setup.

Links

License

MIT