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

@nyota/create-express-app

v1.0.3

Published

CLI tool to scaffold modern Express.js applications with TypeScript, ORMs, and best practices

Downloads

634

Readme

@nyota/create-express-app

Enterprise-ready CLI to scaffold modern Express 5 applications with TypeScript, tsx, modern ORMs, and battle-tested defaults.

npm version License: MIT


Features

  • Express 5: Native async error handling without boilerplate wrappers.
  • Modern Runtime: Powered by tsx (Fast esbuild-based watcher replacing legacy ts-node-dev).
  • Modern Interactive UX: Styled using @clack/prompts visual steppers.
  • Built-in Security & Validation: Helmet HTTP headers, CORS, and Zod runtime schema validation.
  • Database & ORM Support:
    • Drizzle ORM (Modern drizzle-kit standard dialect)
    • Prisma 6
    • TypeORM
    • Mongoose (MongoDB)
    • Raw PostgreSQL (pg)
  • Testing: Choice of Vitest or Jest pre-configured with Supertest.
  • DevOps: Production-ready Dockerfile & Docker Compose services.
  • Transactional Safety: Safe file system rollback engine preventing partial directory corruption if setup is interrupted.

Quick Start

Interactive Mode (Recommended)

npx @nyota/create-express-app@latest

Quick Start with Defaults

Scaffold a TypeScript Express 5 app with recommended security headers and CORS in seconds:

npx @nyota/create-express-app@latest my-api --yes

CLI Options & Flags

npx @nyota/create-express-app [project-name] [options]

Options:
  -y, --yes                      Skip prompts and use standard defaults
  -t, --template <template>      Template choice: typescript or javascript
  -p, --pm <packageManager>      Package manager: npm, pnpm, yarn, bun
  -o, --orm <orm>                Database ORM: none, prisma, drizzle, typeorm, mongoose, pg
  --cors / --no-cors             Enable / disable CORS support
  --helmet / --no-helmet         Enable / disable Helmet security headers
  --validation                   Include Zod request validation
  --logger                       Include Winston logger
  --docker                       Include Docker and docker-compose setup
  --tests <framework>            Testing framework: vitest, jest, none
  --git / --no-git               Initialize Git repository

Generated Project Structure (TypeScript)

my-express-app/
├── src/
│   ├── middleware/
│   │   └── validation.middleware.ts  # (if Zod enabled)
│   ├── routes/
│   │   └── v1/
│   │       └── index.ts              # API v1 routes
│   ├── utils/
│   │   └── logger.ts                 # (if Winston enabled)
│   ├── db/                           # (if Drizzle enabled)
│   │   └── schema.ts
│   └── index.ts                      # Express 5 entry point
├── tests/                            # (if Vitest / Jest enabled)
│   └── app.test.ts
├── drizzle.config.ts                 # (if Drizzle enabled)
├── prisma/                           # (if Prisma enabled)
│   └── schema.prisma
├── .env
├── .env.example
├── .gitignore
├── tsconfig.json
├── Dockerfile                        # (if Docker enabled)
├── docker-compose.yml                # (if Docker enabled)
├── package.json
└── README.md

Scaffolding Script Commands

Inside your generated project directory:

| Script Command | Description | | :----------------------- | :-------------------------------------------------------- | | npm run dev | Starts development server with hot-reload via tsx watch | | npm run build | Builds TypeScript code to dist/ | | npm start | Runs production build from dist/index.js | | npm test | Runs Vitest or Jest test suite | | npm run db:push | Pushes Drizzle schema directly to database | | npm run prisma:migrate | Runs Prisma database migrations |


License

MIT © Nyota Imara Technologies