Skip to content
0:00 / 0:00

#nodejs#typescript#tsconfig

How to Setup Node.js with TypeScript in 2023

Beyond Fireship

463K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Jeff Delaney, creator of Fireship
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

462K views3 years ago2 recommendations

Web developmentProgramming languagesNode.js, Deno and BunTypeScript

Jeff Delaney explains how to configure Node.js with TypeScript, including setting up tsconfig.json and supporting native ES modules.

Learn how to setup Node.js with TypeScript while supporting native ES modules. Use the new NodeNext option to easily interop between CommonJS and ES modules in the same project. Full Lesson and Source Code fireship.io/lessons/typescript-nodejs-setup/

Why it's here

2 people recommend this

What people say. Recommended as a great basic guide for understanding tsconfig.json and setting up TypeScript with Node.js.

u/Neiddin r/Frontend • Recommends

On “How to learn npm and its "configs"?”

…out configs. It covers most used configs you will find but it's only skimming the surface, if you want to know what every option does then just go to documentation of library that uses it. Personally I would recommend understanding .gitignore, .eslintrc.json (or eslint.config.js, depends which format you prefer), .prettier, tsconfig.json (great link to this video for basics again from fireship) and that's it. Even that much might be too much, framework usually generates good default configs and you shouldn't have to worry about them until you want to customize something…

u/fagnerbrackin r/node • Recommends

How to Setup Node.js with TypeScript in 2023 (3 minutes video)