1.3.0 • Published 2 years ago

typescript-express-generator v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Express Logo

Express' application generator with typescript.

This tools is forked from express-generator and already built in some useful libraries such as nodemon, log4js, dotenv and git which is handy for people whom want to build an express project with typescript.

All args of express-generator are provided, you can feel free to use it as express-generator as usual.

Version Licensee Express Version Typescript Version

Installation

$ npm install -g typescript-express-generator

Quick Start

The quickest way to get started with express is to utilize the executable ts-express to generate an application as shown below:

Create the app:

$ ts-express --view=ejs your-awesome-project && cd your-awesome-project

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)
-f, --force          force on non-empty directory
-h, --help           output usage information

Change Log

2022-04-20

  • Add log4js in to template.
  • Add git in to template by default.

License

MIT

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.3.0

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago