Bonus modules
Beyond the levels · 2 modules, learned separately
These two modules show where TypeScript is used and which libraries you'll meet. Each lesson explains what a platform, tool, or library is for and shows one short example of where TypeScript helps. The tools themselves are learned separately; this course doesn't teach them in depth.
A · 15 lessonsTypeScript in the Real World
Part 1 reads best after Level 2. Its Git lesson, the first of Part 2, builds on Level 1's lessons 15.2 and 15.3: read it any time after Level 1.
Where TypeScript Runs
- A.1In the browser: DOM types, the
libsetting, and whyquerySelectorcan returnnull - A.2UI frameworks: what they are and why they exist. React as an example (typed props and state in a few lines), with Vue, Angular, and Svelte mentioned
- A.3On the server: Node.js, Deno, and Bun; a typed request handler
- A.4Full-stack: sharing types between client and server
- A.5Mobile and desktop apps
- A.6Scripts and command-line tools
- A.7Automation and serverless functions
- A.1In the browser: DOM types, the
Tools You'll Meet
- A.8Git and GitHub: saving and sharing your work
- A.9Linters and formatters: Biome in TaskKit
- A.10
typescript-eslintand Prettier: the tools other projects use - A.11Bundlers and dev servers (Vite)
- A.12CI: running your checks on every pull request (GitHub Actions)
- A.13A package for npm: build TaskKit, describe it and try it
- A.14Publishing a package to npm
What Next
- Project stepPut TaskKit on GitHub, add a linter, and run your checks in CI.
B · 29 lessonsComing soonMust-Have Libraries
A catalog, not a sequence: read any lesson once you've reached the level on its tag. Libraries already taught inside the levels (chalk, commander, date-fns, lodash, zod, axios, ts-pattern, vitest, type-fest, Drizzle or Kysely, tRPC) aren't repeated here.
Start Here
- B.1How to use this catalog, and the questions to ask before adding any dependencyAfter L1
Data and Validation
- B.2Valibot: a smaller, modular alternative to ZodAfter L2
- B.3Immer: immutable updates written like ordinary changesAfter L2
HTTP and APIs
- B.4
ky: a small, typed wrapper aroundfetchAfter L1 - B.5
openapi-typescriptandopenapi-fetch: API types generated from an API descriptionAfter L2 - B.6Socket.IO: real-time messages between client and serverAfter L2
- B.4
Web Servers
- B.7Express: the classic Node.js server, typed with
@types/expressAfter L2 - B.8Fastify: a fast server with schema-based typesAfter L2
- B.9Hono: a small server for any runtime, with typed routesAfter L2
- B.10NestJS: a structured framework built on classes and decoratorsAfter L3
- B.7Express: the classic Node.js server, typed with
Databases
- B.11Prisma: a database toolkit with generated typesAfter L2
- B.12Drizzle ORM: SQL-like queries with inferred result typesAfter L2
- B.13Mongoose: MongoDB models with TypeScriptAfter L2
Testing
- B.14Jest: the long-established test frameworkAfter L2
- B.15Playwright: testing real browsers end to endAfter L2
- B.16MSW: mocking APIs in tests and during developmentAfter L2
Command Line and Scripts
- B.17
@inquirer/prompts: interactive questions in the terminalAfter L1 - B.18
execa: running other programs from your scriptsAfter L2 - B.19
dotenv, and Node's built-in--env-fileAfter L1
- B.17
Utilities and Error Handling
- B.20
es-toolkitand Remeda: modern, type-first alternatives to lodashAfter L2 - B.21
neverthrow: the Result pattern as a libraryAfter L2 - B.22
ts-reset: fixing awkward built-in types such asJSON.parseAfter L2 - B.23Effect: typed errors, dependencies, and concurrency in one systemAfter L3
- B.20
Server Essentials
- B.24Pino: fast, structured loggingAfter L2
- B.25
jose: JSON Web Tokens, signing, and encryptionAfter L2
UI Ecosystem (read after lesson A.2)
- B.26TanStack Query: fetching and caching server dataAfter L2
- B.27Zustand: small, typed state storesAfter L2
- B.28React Hook Form: typed forms with validationAfter L2
AI
- B.29AI SDKs: calling language models from TypeScript (the Vercel AI SDK and the official OpenAI and Anthropic SDKs)After L2
- Project stepPick one library from the catalog and add it to the project of the level you're on.