Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Express' application generator

License

NotificationsYou must be signed in to change notification settings

expressjs/generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Logo

Express' application generator.

NPM VersionNPM DownloadsLinux BuildWindows Build

Installation

$ npm install -g express-generator

You can also run the application generator with thenpx command (available since Node.js 8.2.0).

$ npx express-generator

Quick Start

The quickest way to get started with express is to utilize the executableexpress(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 athttp://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

About

Express' application generator

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    [8]ページ先頭

    ©2009-2025 Movatter.jp