# egoist/esbuild-register

Transpile JSX, TypeScript and esnext features on the fly with esbuild

Repository: https://github.com/egoist/esbuild-register
Canonical: https://ross.abutalabs.com/products/esbuild-register
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2024-07-25T13:46:42+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2239, "days_push": 769, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1011, forks 53 (observed 2026-08-28T04:03:13.273448+00:00)

## What it is
A Node.js library that registers a require hook to transpile TypeScript, JSX, and ESNext features on the fly using esbuild. It reads jsxFactory, jsxFragmentFactory, and target options from tsconfig. and can be used via CLI flags or programmatically.

## Use cases
- run TypeScript files directly with node without a build step
- execute JSX/TSX scripts on the fly in Node.js
- transpile esnext features at require time
- add esbuild-powered require hook to a Node script
- run a single .ts file quickly without tsc
- use esbuild as a loader for ESM TypeScript files

## When to avoid
- you need full type checking at runtime (esbuild strips types without validating them)
- you target newer Node.js with native TypeScript type-stripping support
- you need bundling rather than single-file transpilation

## Facets
- artifact type: library
- maturity: maintenance
- function: compiler, developer-tools, build-tool
- domain: developer-tools, programming-languages, web-development
- platform: cli
- tags: esbuild, typescript, jsx, require-hook, transpilation, on-the-fly-compilation, nodejs

## Member repositories
- egoist/esbuild-register (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.273448+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:50.118601+00:00, confidence not recorded.
  - readme: https://github.com/egoist/esbuild-register (fetched 2026-08-28T04:03:13.273448+00:00, sha 175624c2abf2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
