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

@bjohansebas/create

v1.0.0

Published

The fastest way to create an Express application

Readme

@expressjs/create

Create Express apps with no build configuration.

npm create express@latest

You can also run it with your package manager of choice:

# pnpm
pnpm create express

# yarn
yarn create express

# bun
bun create express

Usage

Running the command with no arguments starts an interactive prompt that asks for the project location and features. You can also pass a target directory and skip any prompt with flags:

npm create express@latest my-app -- --ts --view ejs --linter biome --test vitest

Options

| Flag | Description | | --- | --- | | [directory] | Directory to create the project in. | | --ts, --typescript | Use TypeScript. | | --js, --javascript | Use JavaScript. | | --esm / --cjs | Module system: ES modules (default) or CommonJS. | | --example <name> | Starter example: minimal, api, web, mvc. | | --view <engine> | View engine: none, ejs, pug, handlebars. | | --linter <name> | Linter: none, biome, oxlint, eslint. | | --test <runner> | Test runner: none, vitest, node, mocha. | | --docker / --no-docker | Add (or not) a Dockerfile and .dockerignore. | | --pm, --package-manager <name> | Package manager: npm, pnpm, yarn, bun (defaults to the one that launched the CLI). | | -g, --git / --no-git | Initialize (or not) a git repository. | | -i, --install / --no-install | Install (or not) dependencies. | | -f, --force | Overwrite the target directory if it is not empty (keeps .git). | | -y, --yes | Skip prompts and use defaults for any option not provided. | | -h, --help | Display the help message. |

Any option not provided as a flag is asked interactively, unless --yes is used, in which case the defaults are applied (TypeScript, Biome, no view engine, no test runner, git and install enabled). This makes the command safe to run in CI:

npm create express@latest my-app -- --yes --no-install --no-git

Starter examples

Pick a starting point with --example (like Vite's templates). Each one is a working, realistic scaffold rather than a bare hello-world:

  • minimal — a single route returning Hello, World!.
  • api — a JSON REST API: a routes/ router with a sample resource, a request logger, body parsing, and a centralized 404 + error handler.
  • web — a server-rendered app with a view engine, static assets and error pages.
  • mvc — a layered structure (routes / controllers / services) ready to grow.

Examples compose with everything else, so --example api --ts --linter biome --test vitest gives you a typed, linted, tested REST API.

What you get

The generated project is composed from small fragments, so you only get what you pick:

  • app.(js|ts) — the configured Express application (exported, so it is easy to test).
  • server.(js|ts) — boots the app and listens on process.env.PORT (default 3000).
  • A view engine (EJS or Pug) with a views/ folder, when selected.
  • A linter (Biome or ESLint) preconfigured to match the generated code.
  • A test runner (Vitest, the built-in node:test, or Mocha) with a test that exercises the chosen example's own routes, when selected.

Contributing

pnpm install
pnpm lint
pnpm test

Templates live in templates/ as composable fragments (base, typescript, view/*, linter/*, test/*). The scaffolding logic lives in src/actions.

License

MIT