Back to News
Developer Tools

Node.js 24 Lands with Native TypeScript via --strip-types Flag

SedulousWebVia Node.js Blog

Node.js 24 ships built-in TypeScript support via the --strip-types flag, removing the need for ts-node or tsx for most scripts. It enters LTS in October 2026.

What Is New in Node.js 24

The Node.js team released v24.0.0. The headline feature: native TypeScript support via --strip-types, which strips type annotations at runtime so you can run .ts files directly.

Key Features

  • --strip-types flag: runs TypeScript files natively (type annotations stripped, not checked)
  • V8 13.6: improved GC and faster async/await
  • Built-in WebSocket client: new WebSocket() without third-party packages
  • LTS date: October 2026

Limitations

Strip-types does not type-check. You still need tsc --noEmit for type safety. Think of it as a quick-run mode, not a full TypeScript runtime.

Practical Takeaway

For CLI scripts and quick utilities, you can drop the tsx dependency once you migrate to Node 24. Keep TypeScript compilation in your build pipeline for production apps.

Original Source

Node.js Blog

Our commentary and analysis are our own.

Stay Updated

Get top Indian news directly to you

Daily News Digest

No spam. Unsubscribe anytime.