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

create-waitlist-email

v0.1.2

Published

One command to deploy your own waitlist-email backend and create your first waitlist project.

Readme

create-waitlist-email

One command to spin up your own self-hosted waitlist backend and create your first project — no manual env wrangling, no copy-pasting URLs.

# Interactive setup
npx create-waitlist-email

# Or create a new project instantly using your saved backend (0 prompts):
npx create-waitlist-email my-new-project

Requirements: Node 18+, a free MongoDB Atlas cluster (connection string ready), and a Vercel account.


What the CLI asks

  1. Do you already have a backend deployed?

    • No — deploy a new one now → it asks for a folder name and your MongoDB connection string, then handles everything else automatically.
    • Yes — I already have one → it asks for your backend's base URL and Secret key, then skips straight to project creation.
  2. Project name (e.g. my-launch) → creates the project on your backend and prints your projectId.

On subsequent runs the CLI remembers your backend URL and Secret key (~/.waitlist-email/config.json) and asks whether to reuse them.


What it does under the hood (fresh deploy path)

  1. Clones the waitlist-email backend via degit — no git history, just the files.
  2. Generates a random 48-character hex MY_SECRET so you never have to think about it.
  3. Writes a local .env.local so npm run dev works immediately if you want to poke around.
  4. Runs vercel link --yes to create .vercel/project.json non-interactively.
  5. Pushes MONGODB_URI and MY_SECRET to Vercel's production environment via vercel env add.
  6. Deploys to production (vercel --prod --yes), captures the live URL, then sets BASE_URL and redeploys so the running functions actually see it.
  7. Calls your freshly deployed /api/projects endpoint (with automatic retry/backoff for cold-start propagation) to create your first project.
  8. Saves baseUrl + secretKey to ~/.waitlist-email/config.json for future runs.

Add the form to your app

Once the CLI finishes, install the official React component:

npm i waitlist-email-react
import { WaitlistForm } from "waitlist-email-react/react";

export default function App() {
  return (
    <WaitlistForm
      baseUrl="https://your-backend.vercel.app"
      projectId="your-project-id"
    />
  );
}

Handles submission, loading states, validation, and feedback messages out of the box — no extra CSS required.

Full props reference → npmjs.com/package/waitlist-email-react


Backend repo

Want to deploy manually, self-host on a different platform, or understand exactly what's being deployed? See the backend source: github.com/Durjoy96/waitlist-email


License

MIT