express-generator
    Overview
    Documentation
    Tutorials
    Chat
    Insights
    Code
    Dependencies
    Contributors
    Jobs

express-generator

Express' application generator

4.16.1  •  Updated 1 years ago  •  by expressjs  •  MIT License

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

Popularity

Weekly Downloads
Add this graph to GitHub
15.4K

Maintenance

Development

Last ver 1 year ago
Created 7 years ago
Last commit 1 year ago
6 days between commits

Technology

Node version: 8.16.0
26.3K unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

42 contributors
Douglas Christopher Wilson
Maintainer, 288 commits, 4 merges, 3 PRs
Roman Shtylman
9 commits, 4 merges
Jonathan Ong
Maintainer, 2 commits, 5 merges
Works at houzz
Moritz Sternemann
4 commits
Gaspard Beernaert
2 commits, 2 PRs
Works at mazedesignhq
Brian White
2 commits

Tags

express
framework
sinatra
web
rest
restful
router
app
api
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.