generator

Express' application generator

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者expressjs/generator
主編程語言JavaScript
編程語言CSS (語言數: 11)
平台
許可證MIT License
所有者活动
創建於2013-11-20 22:24:21
推送於2024-08-20 15:32:48
最后一次提交2024-06-02 19:15:46
發布數22
最新版本名稱v4.16.1 (發布於 2019-05-02 21:47:39)
第一版名稱v1.0.0 (發布於 2013-11-20 14:27:05)
用户参与
星數1.8k
關注者數52
派生數545
提交數398
已啟用問題?
問題數157
打開的問題數27
拉請求數15
打開的拉請求數36
關閉的拉請求數112
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?