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

umpordez

v1.0.3

Published

SaaS starter kit generator - multi-tenant TypeScript + React + PostgreSQL

Readme

umpordez

SaaS starter kit generator.


Why?

We all know the drill; you want to build a SaaS, you spend two weeks setting up auth, multi-tenancy, file uploads, admin panels, role-based access... and then you still haven't written a single line of your actual product.

I've built this same architecture across multiple production apps (different domains, same bones). At some point I got tired of copying between repos, adapting folder names, and forgetting to update that one hardcoded port somewhere.

So I made a CLI that generates the whole thing. One command, answer a few questions, and you get a production-ready multi-tenant SaaS with everything wired up.

No magic, no hidden abstractions. The generated code is yours; plain TypeScript, plain React, plain SQL. Read it, change it, own it.

What you get

server/
  apps/api/           Admin API (Express + TypeScript)
  apps/site-api/      Public API (Express + TypeScript)
  apps/shared/        Shared middlewares + utilities
  core/               Models, DB, S3, email, auth
  console/            Task runner (migrations, seeds, custom tasks)
  migrations/         Raw SQL migrations (Knex)

ui/admin/             React SPA (Vite + shadcn/ui + Tailwind)
ui/site/              Public site (Express + EJS + Tailwind)

The architecture:

  • Multi-tenant; users > accounts with role-based access (admin, owner, manager, user)
  • Multi-API; separate Express servers sharing core logic, add more as you need
  • Cookie auth; httpOnly JWT, 30-day expiry, no tokens in localStorage
  • S3 uploads; multer-s3 with signed URLs (never public-read)
  • Context DI; fresh context per request with all models instantiated, no singletons
  • PostgreSQL; Knex.js with raw SQL migrations, because ORMs lie to you eventually :X

Install

npm install -g umpordez

Usage

Create a project

umpordez

That's it. It asks you a few questions (name, domain, ports, colors) and generates everything. Then:

cd my-project
./install.sh          # install deps
./seed.sh             # create db + migrate + seed admin
./dev.sh              # start all services

Build for production

The build system is split in two steps on purpose; compilation is expensive and should run on your machine, dependency installation needs to happen on the target machine (native bindings, OS-specific stuff).

# Step 1: compile locally, push artifacts to builds repo
umpordez build ../app ../builds

# Step 2: on prod/staging, install production deps
umpordez build-deps ../builds

After build-deps, the builds repo is ready to clone and run. Add your .env, start the services, done.

Other commands

umpordez --help       # see all commands
umpordez --version    # check version

Tech stack

| Layer | Tech | |------------|------| | Backend | TypeScript, Express, PostgreSQL, Knex.js, Zod | | Admin UI | React 18, Vite, Tailwind, shadcn/ui (Radix), React Query v5 | | Public site| Express + EJS + Tailwind | | Auth | httpOnly JWT cookies (bcrypt + 30-day expiry) | | Uploads | AWS S3 via multer-s3, signed URLs | | Email | Nodemailer + HTML templates |

License

MIT; do whatever you want with it.


May the speedy force be with you. ✌️

youtube.com/ligeiro