How to run TypeScript natively in Node.js with TSX

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • esbuild

    An extremely fast bundler for the web

  • TSX is the newest and most improved version of our ts-node, using ESBuild to transpile TS files to JS very quickly. The most interesting part is that TSX was developed to be a complete replacement for Node, so you can actually use TSX as a TypeScript REPL, if you install it globally with npm i -g tsx, just run tsx in your terminal and you can write TSX natively. But what's even cooler is that you can load TSX for all TypeScript files using --loader tsx when you run your file. For example, let's say we have this file called index.ts:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Esbuild implements the JavaScript decorators proposal

    1 project | news.ycombinator.com | 7 May 2024
  • Effortless Function as a Service: A Simple Guide to Implementing it with Query

    2 projects | dev.to | 21 Dec 2023
  • Date Picker: reactive Web Component in JavaScript

    2 projects | dev.to | 13 Sep 2023
  • How environment variables are controlled for different environments with the same build?

    1 project | /r/reactjs | 12 Jun 2023
  • Remix: A Full-Stack React Framework for Fast and Resilient Web Experiences

    1 project | dev.to | 7 Jun 2023