Skip to content

Express' application generator, but typescript!

License

Notifications You must be signed in to change notification settings

my-code1e/express-generator-ts

 
 

Repository files navigation

Express Logo

Express' application generator, but with typescript.

NPM Version NPM Downloads Linux Build Windows Build

Installation

$ npm install -g express-generator-ts-yashmit

Quick Start

The quickest way to get started with express is to utilize the executable express-ts(1) to generate an application as shown below:

Create the app:

$ express-ts --view=hbs /tmp/foo && cd /tmp/foo

Install dependencies:

$ npm install

Start your Express.js app at http://localhost:3000/:

$ npm start

Command Line Options

This generator can also be further configured with the following command line flags.

    --version        output the version number
-e, --ejs            add ejs engine support
    --pug            add pug engine support
    --hbs            add handlebars engine support
-H, --hogan          add hogan.js engine support
-v, --view <engine>  add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
    --no-view        use static html instead of view engine
-c, --css <engine>   add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git            add .gitignore
-f, --force          force on non-empty directory
-h, --help           output usage information

License

MIT

About

Express' application generator, but typescript!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 64.6%
  • JavaScript 28.1%
  • EJS 4.3%
  • Pug 0.8%
  • Twig 0.7%
  • Handlebars 0.4%
  • Other 1.1%