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-starter

v0.3.0

Published

Generate typescript express application

Downloads

33

Readme

express-ts-starter

Generate typescript express application npm license github-issues

nodei.co

travis-status stars forks

forks

Features

  • Generate typescript express application
  • Support i18n

Usage

Usage: express-ts-starter [options] [command]

Options:
  -h, --help  output usage information

Commands:
  start       Generate express application

Sample

// lib/routes/landing.ts
// ======
// package-dependency import *  from '@decorators/express';
import { Controller, Get, Response } from '@decorators/express';

@Controller('/')
export class LandingController {
  @Get('/')
  landing(@Response() res: any) {
    console.log();
    res.serve('landing', {
      greetings: res.__('greetings', { name: 'World' }),
      welcome: res.__('welcome')
    });
  }
}

// index.ts 
// ========
import { LandingController } from './lib/routes/landing';
import { BaseApplicationServer } from 'express-starter-config';

class ApplicationServer extends BaseApplicationServer {
  constructor() {
    super();
    this.addControllers(LandingController);
  }
}

// Start the application
new ApplicationServer().start();

Install

npm install -g typescript
npm install --save express-ts-starter

Scripts

  • npm run readme : node ./node_modules/.bin/node-readme
  • npm run build:minify : node dist/lib/minify.js --css --js --debug
  • npm run build:typescript : tsc
  • npm run build : rm -rf dist && tsc && npm run readme
  • npm run prod : npm run build && node dist/index.js --instance prod
  • npm run dev : npm run build:typescript && node dist/index.js --instance dev --debug
  • npm run test : mocha ./dist/test/*.js
  • npm run watch : nodemon
  • npm run start : node dist/index.js --instance prod

Dependencies

Package | Version | Dev --- |:---:|:---: @decorators/di | ^1.0.2 | ✖ @decorators/express | ^2.3.0 | ✖ args-finder | 0.0.3 | ✖ commander | ^2.19.0 | ✖ dot-object | ^1.7.1 | ✖ express-starter-config | ^0.4.1 | ✖ great-logs | 0.0.4 | ✖ nodemon | ^1.19.1 | ✖ prompts | ^2.0.1 | ✖ shelljs | ^0.8.3 | ✖ walkdir | 0.0.12 | ✖ @types/chai | ^4.1.3 | ✔ @types/express | ^4.16.0 | ✔ @types/mocha | ^5.2.0 | ✔ @types/node | ^10.0.4 | ✔ chai | ^4.1.2 | ✔ mocha | ^5.1.1 | ✔ node-readme | ^0.1.9 | ✔

Contributing

Please check the Contributing Guidelines for more details. Thanks!

Author

Wendly Saintil

License

MIT