esbuild-register
JSON →esbuild-register is a utility that enables on-the-fly transpilation of JSX, TypeScript, and modern JavaScript (esnext) features in Node.js environments by leveraging the highly performant esbuild bundler. It functions as a Node.js `require` hook or an experimental `--loader`, allowing developers to execute TypeScript or JSX files directly without a prior build step. The current stable version is 3.6.0. While widely used, the package has a slow release cadence, with the last update two years ago, leading to it being classified as having 'not healthy' project activity by some analyses. Its primary differentiator compared to alternatives like `ts-node` or `babel-register` is its speed, attributed to `esbuild` being written in Go and optimized for fast compilation. It automatically respects `jsxFactory`, `jsxFragmentFactory`, and `target` options from `tsconfig.json`.
Traffic · last 30 days ↑500% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany