@expressbun/generator
v0.1.3
Published
Express' application generator
Downloads
6
Maintainers
Readme
Express application generator for Bun. Based on express generator with tweaks to support bun run time and hot reload.
Installation
$ bunx @expressbun/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:
$ bunx @expressbun/generator --ejs
Install dependencies:
$ bun install
Start your Express.js app at http://localhost:3000/
:
$ bun dev or bun 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 ejs)
--no-view use static html instead of view engine
-c, --css <engine> add stylesheet <engine> support (less|stylus|compass) (defaults to plain css)
--git add .gitignore
-f, --force force on non-empty directory
-h, --help output usage information