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

@yash946/express-ts

v2.0.2

Published

Zero-config CLI to bootstrap Express.js projects with TypeScript - supports npm, yarn, pnpm, and bun

Readme

📦 Express + TypeScript Project Generator

A zero-config CLI tool to bootstrap an Express.js project with TypeScript in seconds — choose your favorite package manager: npm, yarn, pnpm, or bun.

🧑‍💻 Usage

You can run the CLI with npx:

npx @yash946/express-ts

✨ Features

  • ⚙️ TypeScript pre-configured - Ready-to-use TypeScript setup
  • 🚀 Express.js boilerplate - Complete setup with CORS and dotenv
  • 📦 Multiple package managers - Support for npm, yarn, pnpm, and bun
  • 🔄 Hot reloading - Automatic restart on file changes
  • 🗂️ Clean project structure - Organized src/ and dist/ folders
  • 🎯 Git integration - Automatic Git repository initialization
  • Interactive CLI - Beautiful prompts with loading animations
  • 🎨 Smart package management - Optimized for each package manager

📦 Package Manager Support

npm / yarn / pnpm

  • Uses nodemon with tsx for hot reloading
  • TypeScript compilation with tsc
  • Full development environment setup

bun

  • Uses Bun's native --watch flag (no nodemon needed)
  • Built-in TypeScript support
  • Optimized build process with bun build

🚀 Generated Scripts

For npm/yarn/pnpm projects:

npm run dev    # Start development server with hot reload
npm start      # Build and run production server

For bun projects:

bun run dev    # Start development server with Bun's native watcher
bun run build  # Build project for production
bun run start  # Run production build

📁 Project Structure

your-project/
├── dist/                 # Compiled JavaScript (after build)
├── src/
│   └── index.ts          # Main application file
├── .env                  # Environment variables
├── .gitignore           # Git ignore rules
├── tsconfig.json        # TypeScript configuration
├── nodemon.json         # Nodemon config (npm/yarn/pnpm only)
└── package.json         # Project dependencies and scripts

🔧 What Gets Installed

Dependencies

  • express - Fast, unopinionated web framework
  • cors - Cross-Origin Resource Sharing middleware
  • dotenv - Environment variable management

Dev Dependencies

npm/yarn/pnpm:

  • @types/express, @types/node, @types/cors - TypeScript definitions
  • typescript - TypeScript compiler
  • tsx - TypeScript execution engine
  • nodemon - File watcher for development

bun:

  • @types/express, @types/cors - TypeScript definitions
  • Built-in TypeScript support (no additional packages needed)

🎯 Git Integration

The CLI automatically:

  • Initializes a new Git repository
  • Creates initial commit with all generated files
  • Sets up proper .gitignore for Node.js projects

✨ CLI Experience

  • 🎨 Beautiful interface with emojis and clear prompts
  • Loading animations during package installation
  • Progress indicators for each setup step
  • 🔇 Silent installation - no verbose logs cluttering output