express-generator
Express' application generator
Last updated 2 years ago by dougwilson .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install express-generator -g
SYNC missed versions from official npm registry.

Express Logo

Express' application generator.

NPM Version NPM Downloads Linux Build Windows Build

Installation

$ npm install -g 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

Current Tags

  • 4.16.1                                ...           latest (2 years ago)

22 Versions

  • 4.16.1                                ...           2 years ago
  • 4.16.0                                ...           3 years ago
  • 4.15.5                                ...           3 years ago
  • 4.15.0                                ...           4 years ago
  • 4.14.1                                ...           4 years ago
  • 4.14.0                                ...           4 years ago
  • 4.13.4                                ...           4 years ago
  • 4.13.1                                ...           5 years ago
  • 4.13.0                                ...           5 years ago
  • 4.12.4                                ...           6 years ago
  • 4.12.1                                ...           6 years ago
  • 4.12.0                                ...           6 years ago
  • 4.11.2                                ...           6 years ago
  • 4.11.1                                ...           6 years ago
  • 4.11.0                                ...           6 years ago
  • 4.10.0                                ...           6 years ago
  • 4.9.0                                ...           6 years ago
  • 4.8.0                                ...           6 years ago
  • 4.2.0                                ...           7 years ago
  • 4.0.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 1.0.0                                ...           7 years ago

Copyright 2014 - 2017 © taobao.org |