Starting a TypeScript Project in 2021

This is a guide for starting a TypeScript project in 2021 with modern tooling.

TypeScript 4
Optionally esbuild to bundle for browsers (and Node.js)
Linting with typescript-eslint (tslint is deprecated)
Testing with Jest (and ts-jest)
Publishing a package to npm
Continuous integration (GitHub Actions / GitLab CI)
Automatic API documentation with TypeDoc

Read in full here:

This thread was posted by one of our members via one of our news source trackers.