# unjs/jiti

Runtime TypeScript and ESM support for Node.js

Repository: https://github.com/unjs/jiti
Canonical: https://ross.abutalabs.com/products/jiti
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-22T03:43:03+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 82, longevity 100
- inputs: {"age_days": 2279, "days_push": 11, "days_rel": 120, "gap_med": 2, "n_releases_24m": 20}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2939, forks 112 (observed 2026-08-28T04:07:30.978705+00:00)

## What it is
jiti is a zero-dependency Node.js library and CLI that provides runtime TypeScript and ESM support with seamless ESM/CommonJS interoperability. It offers both asynchronous import and synchronous require APIs, filesystem transpile caching, and ESM loader support.

## Use cases
- run typescript files directly with node
- import typescript modules at runtime
- replace require with esm-compatible loader
- load config files written in typescript
- run esm and commonjs modules interchangeably
- add typescript support to a node.js cli tool

## When to choose
- you need to execute TypeScript or ESM files at runtime without a build step
- you're building a tool (like a config loader or CLI) that must load user code written in TypeScript
- you need ESM/CommonJS interoperability with require.cache integration and disk caching

## When to avoid
- you only need standard Node.js type stripping in modern Node versions without extra features
- you need full bundling or type-checking rather than runtime transpilation
- your project targets browsers rather than Node.js

## Facets
- artifact type: library
- maturity: active
- function: compiler, parser, cli, developer-tools
- domain: developer-tools, web-development, programming-languages
- platform: cli, cross-platform
- tags: typescript-runtime, esm, commonjs-interop, transpilation, module-loader, unjs, command-line, nodejs

## Member repositories
- unjs/jiti (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:30.978705+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:33:00.273944+00:00, confidence not recorded.
  - readme: https://github.com/unjs/jiti (fetched 2026-08-28T04:07:30.978705+00:00, sha 58c42c85ad0c)
  - registry_npm: https://registry.npmjs.org/jiti (fetched 2026-08-29T09:48:31.207055+00:00, sha 342b56f41d55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
