Skip to content
Express' application generator
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Latest commit d1f3fcc May 3, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin gen: update hbs to ~4.0.4 May 3, 2019
templates Add no view engine support Mar 16, 2018
test tests: add tests for --css sass Apr 26, 2019
.eslintignore lint: use standard style Mar 27, 2017
.eslintrc.yml build: use yaml eslint configuration Jan 20, 2018
.gitignore tests: generate apps outside of working directory Dec 12, 2017
.travis.yml build: supertest@4.0.2 May 3, 2019
LICENSE docs: update license Jan 16, 2018
README.md docs: remove gratipay badge Mar 19, 2018
appveyor.yml build: supertest@4.0.2 May 3, 2019
package.json 4.16.1 May 3, 2019

README.md

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

You can’t perform that action at this time.