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

@webjsdev/cli

v0.10.27

Published

webjs CLI - dev, start, create, db

Downloads

5,482

Readme

@webjsdev/cli

CLI for webjs: scaffold, develop, build, and run webjs apps.

Installing this package gives you the webjs command.

Install

Install once, globally:

npm i -g webjsdev

Then scaffold a new app anywhere:

webjs create my-app
cd my-app && npm run dev
# → http://localhost:8080

One-shot without a global install, two ways:

# Preferred: the npx-discoverable scaffolder
npx create-webjs-app@latest my-app
cd my-app && npm run dev

# Or via the CLI's npx entry directly
npx @webjsdev/cli create my-app
cd my-app && npm run dev

webjs create installs dependencies in the new directory by default on Node (it needs node_modules to run). On Bun it skips the install (zero-install: bun run dev resolves deps on the fly). Pass --install to force the install, or --no-install to skip it, on either runtime.

Commands

webjs create <name>            # scaffold a full-stack app (default)
webjs create <name> --template api   # backend-only API app
webjs create <name> --template saas  # auth + dashboard + Drizzle User model

webjs dev                      # dev server with live reload (runs webjs.dev.before, e.g. webjs db migrate, then serves; npm run dev is a thin alias)
webjs start                    # production server (no build step, serves source directly)
webjs check                    # validate source-code conventions (CI gate)
webjs doctor                   # verify the project/toolchain setup (local onboarding, not CI)
webjs test                     # run server + browser tests
webjs vendor pin [--download]  # pin client deps to a committable importmap (offline/reproducible)
webjs db <generate|migrate|push|studio|seed>   # drizzle-kit passthrough (+ seed)

webjs ui init                  # initialise @webjsdev/ui in this project
webjs ui add <names...>        # copy components from the registry (https://ui.webjs.dev/registry/<name>.json)
webjs ui list                  # list every component available in the registry

webjs ui proxies to @webjsdev/ui, an AI-first component library + CLI that copies sources into your project: class helpers (buttonClass, cardClass, …) for the visual primitives and a small set of stateful custom elements (<ui-dialog>, <ui-tabs>, <ui-popover>) where state matters. The package is a hard dependency of @webjsdev/cli, so installing the CLI gives you webjs ui automatically. See https://ui.webjs.dev for the catalogue.

Scaffolded templates

The scaffold seeds opinionated defaults so AI agents produce consistent code:

  • AGENTS.md + CONVENTIONS.md (the machine-readable contract)
  • .claude/, .cursorrules, .agents/rules/workflow.md (Antigravity), .github/copilot-instructions.md
  • test/<feature>/ (with optional browser/ / e2e/ subfolders per kind) with example tests
  • Tailwind CSS via CLI (no browser runtime at build time)
  • TypeScript, .editorconfig, .gitignore

See the full framework docs at https://github.com/webjsdev/webjs.

License

MIT