Package Exports
- express-generator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (express-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Express' application generator.
Installation
$ npm install -g express-generatorQuick 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/fooInstall dependencies:
$ npm installStart your Express.js app at http://localhost:3000/:
$ npm startCommand 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