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
發布數22
最新版本名稱v4.16.1 (發布於 2019-05-02 21:47:39)
第一版名稱v1.0.0 (發布於 2013-11-20 14:27:05)
創建於2013-11-20 22:24:21
推送於2024-04-10 16:58:09
最后一次提交2024-04-04 10:05:14
星數1.8k
關注者數51
派生數531
提交數397
已啟用問題?
問題數155
打開的問題數28
拉請求數14
打開的拉請求數32
關閉的拉請求數110
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部