It JIT transforms TypeScript into JavaScript, enabling you to directly execute TypeScript on Node.js without precompiling. This is accomplished by hooking node's module loading APIs, enabling it to be used seamlessly alongside other Node.js tools and libraries. Automatic defaults to match your node version, integrate with test runners, debuggers, and CLI tools, compatible with pre-compilation for production. Installing modules locally allows you to control and share the versions through package.json. TS Node will always resolve the compiler from cwd before checking relative to its own installation.ts-node exports a create() function that can be used to initialize a TypeScript compiler that isn't registered to require.extensions, and it uses the same code as register. ts-node supports a variety of options which can be specified via tsconfig.json, as CLI flags, as environment variables, or programmatically.

Features

  • Automatic sourcemaps in stack traces
  • Automatic tsconfig.json parsing
  • Typechecking (optional)
  • Write standalone scripts
  • Native ESM loader
  • Use third-party transpilers

Project Samples

Project Activity

See All Activity >

Categories

Runtimes

License

MIT License

Follow ts-node

ts-node Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ts-node!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Runtimes

Registered

2021-07-03