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
10 changes: 10 additions & 0 deletions src/content/docs/en/4x/starter/generator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,13 @@ The app structure created by the generator is just one of many ways to structure
Feel free to use this structure or modify it to best suit your needs.

</Alert>

## Generating a TypeScript app

`express-generator` scaffolds a JavaScript app. For a TypeScript skeleton, the community-maintained [`express-generator-typescript`](https://github.com/seanpmaxwell/express-generator-typescript) tool runs the same way:

```bash
$ npx express-generator-typescript myapp
```

It produces a project with a comparable structure plus `tsconfig.json` and build scripts. This tool is maintained by the community, not the Express team.
10 changes: 10 additions & 0 deletions src/content/docs/en/5x/starter/generator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,13 @@ The app structure created by the generator is just one of many ways to structure
Feel free to use this structure or modify it to best suit your needs.

</Alert>

## Generating a TypeScript app

`express-generator` scaffolds a JavaScript app. For a TypeScript skeleton, the community-maintained [`express-generator-typescript`](https://github.com/seanpmaxwell/express-generator-typescript) tool runs the same way:

```bash
$ npx express-generator-typescript myapp
```

It produces a project with a comparable structure plus `tsconfig.json` and build scripts. This tool is maintained by the community, not the Express team.
Loading