Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/content/docs/en/4x/starter/generator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,22 @@ PS> $env:DEBUG='myapp:*'; npm start

Then, load `http://localhost:3000/` in your browser to access the app.

## TypeScript

The `express-generator` package creates a JavaScript application skeleton.
It does not currently include an option to generate a TypeScript application.

If you want to start with TypeScript, you can add TypeScript to the generated app after creating it, or use a community generator.

<Alert type="warning">

This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team.
Listing here does not constitute an endorsement or recommendation from the Expressjs project team.

</Alert>

- [express-generator-typescript](https://github.com/seanpmaxwell/express-generator-typescript) - Community generator for Express applications written in TypeScript

The generated app has the following directory structure:

```bash
Expand Down
16 changes: 16 additions & 0 deletions src/content/docs/en/5x/starter/generator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,22 @@ PS> $env:DEBUG='myapp:*'; npm start

Then, load `http://localhost:3000/` in your browser to access the app.

## TypeScript

The `express-generator` package creates a JavaScript application skeleton.
It does not currently include an option to generate a TypeScript application.

If you want to start with TypeScript, you can add TypeScript to the generated app after creating it, or use a community generator.

<Alert type="warning">

This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team.
Listing here does not constitute an endorsement or recommendation from the Expressjs project team.

</Alert>

- [express-generator-typescript](https://github.com/seanpmaxwell/express-generator-typescript) - Community generator for Express applications written in TypeScript

The generated app has the following directory structure:

```bash
Expand Down
Loading