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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部