Skip to content

IgorArnaut/generator-es6-ts

 
 

Repository files navigation

Express Logo

Express' application generator.

NPM Version NPM Downloads Linux Build Windows Build

Installation

$ npm install -g express-generator

You can also run the application generator with the npx command (available since Node.js 8.2.0).

$ npx express-generator

Quick Start

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

Create the app:

$ express --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

Updated version Express' application generator with ES6 and TS support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.5%
  • EJS 2.4%
  • Pug 0.8%
  • Twig 0.7%
  • Handlebars 0.4%
  • HTML 0.3%
  • Other 0.9%