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

express-ts-template-gwh

v1.0.20

Published

这是一个基于 Express 和 TypeScript 的后端服务模板项目。

Readme

Express TypeScript 项目

这是一个基于 Express 和 TypeScript 的后端服务模板项目。

功能特性

  • 使用 TypeScript 开发
  • Express 5.x 框架
  • TypeORM 数据库集成
  • 结构化项目架构
  • 开发/生产环境配置
  • 日志记录和错误处理中间件

项目结构

express-ts-project/
├── src/
│   ├── config/        # 配置文件
│   ├── controllers/   # 控制器
│   ├── dto/           # 数据传输对象
│   ├── middlewares/   # 中间件
│   ├── models/        # 数据库模型
│   ├── routes/        # 路由
│   ├── services/      # 服务层
│   ├── utils/         # 工具类
│   ├── app.ts         # Express应用配置
│   └── index.ts       # 入口文件
├── .gitignore
├── package.json
├── tsconfig.json
└── README.md

快速开始

安装依赖

使用npm:

npm install

使用pnpm:

pnpm install

开发模式

使用npm:

npm run dev

使用pnpm:

pnpm run dev

生产构建

使用npm:

npm run build

使用pnpm:

pnpm run build

生产运行

使用npm:

npm run start

使用pnpm:

pnpm run start

环境变量

复制 .env.example.env 并配置你的环境变量。

贡献指南

欢迎提交 Pull Request。

许可证

MIT