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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mauricio.wolff/bit

v2.1.7

Published

∴ bit → your stack sidekick. A CLI tool for scaffolding modern web projects with monorepo structure, Docker Compose, PocketBase, and Astro.

Downloads

8

Readme

∴ bit → your stack sidekick

Version NPM Issues Last Commit

Zero to Full-Stack in Seconds! Create production-ready applications with a single command.

Creating a project with bit

✨ What's in the Box?

Bit sets you up with a modern, battle-tested stack:

  • 🌿 Monorepo - Simple, organized and scalable from day one (apps/pb and apps/web)
  • 🐋 Docker - Development environment that "just works"
  • 📦 PocketBase Backend - Full-featured backend with admin UI
  • Astro Frontend - Blazing-fast web performance for pages and api endpoints (SSR by default on bit)
  • 🍞 Bun - Incredibly fast JavaScript runtime and toolkit for modern web development (powers bit's DX)

🚀 Get Started in 30 Seconds

  1. Install Bit:

    npm install -g @mauricio.wolff/bit
  2. Create your masterpiece:

    bit new my-awesome-project
    cd my-awesome-project
  3. Choose your style:

    bit start # Press Ctrl+C to detach and keep services running

That's it! Visit your creation at:

  • ✨ Frontend: http://localhost:4321
  • 👔 Admin Dashboard: http://localhost:8090/_/

Screenshot of default webapp

🎮 Command Center

During Development

| Command | Description | |------------------------|---------------------------------| | bit new <name> | Create a new project | | bit start | Start development environment | | bit stop | Stop all services | | bit logs | View containers logs | | bit down | Delete all containers and volumes | | bit deploy [target] | Deploy to production |

Ready for the World?

| Command | What it Does | | ---------------- | --------------- | | bit deploy | Ship everything | | bit deploy web | Ship frontend | | bit deploy pb | Ship backend |

If your app doesn't exist in fly.io, it will launch first, then deploy.

📐 Project Blueprint

my-project/
├── apps/
│   ├── web/          # Astro frontend
│   │   ├── src/
│   │   └── fly.toml  # Frontend deploy config
│   └── pb/           # PocketBase backend
│       ├── pb_data/
│       ├── pb_migrations/
│       └── fly.toml   # Backend deploy config
├── docker-compose.yml # Development environment
└── README.md

🪄 Power User Features

Auto-Magic Admin Setup

Create ~/.bit.conf to use one email/password for PB's superuser (and to fastrack creation):

{
  "pocketbase": {
    "admin": {
      "email": "[email protected]",
      "password": "your-secure-password"
    }
  }
}

🚢 Deploy Like a Pro

We've partnered with fly.io for smooth deployments:

  1. Get the tools:

    curl -L https://fly.io/install.sh | sh
  2. Log in:

    fly auth login
  3. Ship it:

    bit deploy # From your project's root directory

    or

    bit deploy pb # Deploy PocketBase (db / backend) only
    bit deploy web # Deploy Astro (Frontend / api) only

Deploying PocketBase to fly.io in real time

Deploying to fly.io, real time

🧑‍💻 For the Builders

Want to make Bit even better? Here's how:

git clone https://github.com/bitbonsai/bit.git
cd bit
npm install
npm link
bit new test-project # Test your changes

📋 Before You Start

Make sure you have:

🆘 Need Help?

Common hiccups and quick fixes:

  • 🐋 Docker not running? Fire up Docker Desktop
  • 🔌 Port conflicts? Check if 4321 or 8090 are free
  • 🔐 Permission issues? Double-check Docker permissions
  • 🫧 Start fresh? Run bun run clean

🤝 Join the Community

Got ideas? Found a bug? We love pull requests!

⚖️ License

MIT License - go wild! See LICENSE for the fine print.