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

@veton.milaimi/express-ts-generator

v1.0.4

Published

Express application generator with TypeScript support

Readme

Express TypeScript Generator

A command-line tool to quickly scaffold an Express application skeleton pre-configured with TypeScript, modern tooling, and optional stylesheet or view engine support.

Inspired by express-generator.

Features

  • TypeScript Native: Pre-configured tsconfig.json, source files in src/, and ES Modules imports.
  • Modern Dev Tooling: Live reloading using nodemon and ts-node for seamless TypeScript execution.
  • Environment Configuration: Ready-to-go dotenv configuration.
  • Cross-Platform Static Building: Multi-platform node script for copying public assets & templates to dist for compilation.
  • Multiple Options: Supports CSS preprocessors (Sass, Less) and popular view engines (EJS, Pug, Handlebars).
  • Git Ready: Built-in option to initialize git repository and generate .gitignore.

Installation

The package is published on npm as @veton.milaimi/express-ts-generator and exposes the express-ts command.

Install it globally:

npm install -g @veton.milaimi/express-ts-generator

Then generate a project:

express-ts [options] [dir]

You can also run it without installing globally:

npx @veton.milaimi/express-ts-generator [options] [dir]

Usage

After global installation, use the CLI command:

express-ts [options] [dir]

For one-off usage, prefix the same arguments with the package name:

npx @veton.milaimi/express-ts-generator [options] [dir]

Examples:

# Generate an API project in ./my-app
express-ts --git --pm npm my-app

# Or run directly from npm without a global install
npx @veton.milaimi/express-ts-generator --ejs --css sass my-web-app

Options

| Flag | Option | Description | | :--- | :--- | :--- | | -h | --help | Output usage information | | | --version | Output the version number | | -e | --ejs | Add EJS engine support | | | --pug | Add Pug engine support | | | --hbs | Add Handlebars engine support | | | --no-view | Use static HTML instead of a view engine (default) | | -c | --css <engine> | Add stylesheet engine support (css, sass, less) (default: css) | | -g | --git | Add .gitignore and initialize a git repository | | -f | --force | Force generation in a non-empty directory | | -p | --pm <manager> | Specify package manager: npm, yarn, pnpm, bun (default: npm) |


Quick Start

1. Create a New Project

npx @veton.milaimi/express-ts-generator --git --pm npm my-app

2. Start Development

cd my-app
npm install
npm run dev

3. Scaffold a Project with EJS and Sass

npx @veton.milaimi/express-ts-generator --ejs --css sass my-web-app

Generated Project Scripts

Inside the generated project directory, you will have access to the following npm scripts:

  • Start development server (with hot-reloading):
    npm run dev
  • Build the project (compiles TypeScript to dist/ and copies static assets):
    npm run build
  • Start the compiled application in production mode:
    npm start

License

MIT