Learning resources
tsx handles running your code. These resources explain the language and runtime concepts you use when writing it. To run a first example before exploring those concepts, follow Getting started.
Documentation
- TypeScript handbook: learn type annotations, narrowing, generics, and other language features.
- Node.js introduction: learn what the runtime provides and how server-side JavaScript works.
- Node.js API reference: look up built-in modules such as
node:fs,node:path, andnode:http.
Apply those concepts with tsx
- TypeScript configuration: add a type checker and configure your project.
- CommonJS and ES modules: choose an execution format and understand imports.
- Testing: run a TypeScript test with Node.js's test runner.
To suggest a learning resource that uses tsx, contact the project.
