jiti
Reasonable, with limits. 5th of 10 script runners and process managers.
jiti is a zero-dependency runtime loader from UnJS that lets Node.js import TypeScript and ESM files. ESLint, Tailwind CSS, Nuxt and Storybook use it to load TypeScript config files. It is an excellent choice for tool authors who need to load a user's .ts file at runtime. For this category's job, though, it has no watch mode and no process management, and tsx or Node's native type stripping run scripts better.
Best for: Authors of libraries and CLIs who need to load a user's TypeScript or ESM config file from code, with CommonJS interop.
Scores
Overall5.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.0, likely 4.0 to 7.0
jiti is a trusted loader that major tools depend on, but it is a weaker fit for this category's job: it does not watch, restart or supervise processes. For running TypeScript scripts in a new project, tsx (or Node's native type stripping) with a watcher is the better pick. Its slower release pace also lowers the score. It ranks higher for tool authors who need to load config files.
- peers tsx: tsx has 109 commits last year, a 9x download ratio and built-in watch
- betterstack.com/community/guides/scaling-nodejs/jiti-vs-tsx: tsx recommended for development loops; jiti for compatibility
- github releasesLastYear: One release in a year
GPT-6.2 Sol: 6.1, likely 5.1 to 7.2
Jiti is a reasonable choice when a Node.js tool needs to load TypeScript plugins or configuration across module formats. For new scripts that need to rerun on edits, tsx has the better workflow, and PM2 handles crash recovery for long-running services. The slower release cadence and unresolved interop bugs limit the recommendation, while established integrations show where Jiti still earns its place.
- github.com/unjs/jiti/releases: The latest stable release improves loading and resolution after a slower release year.
- github.com/unjs/jiti/issues/457: Open correctness regression in default module interop.
- tsx.hirok.io/watch-mode: tsx reruns scripts when watched files change.
- pm2.keymetrics.io/docs/usage/restart-strategies: PM2 restarts processes on crashes and exits.
- raw.githubusercontent.com/tailwindlabs/tailwindcss/main/packages/@tailwindcss-node/src/compile.ts: A current integration demonstrates Jiti's value as a fallback loader.
Needed by many4.7
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 3.0 to 6.0
Many developers run TypeScript files directly, but jiti's take on it is a library loader for config files, mainly needed by tool authors. It does not cover restarts on change or keeping a process running. Its CLI works for one-off scripts, which widens the range upward.
- github.com/unjs/jiti: Programmatic import API plus an npx CLI and a register hook; no watch mode is documented
- betterstack.com/community/guides/scaling-nodejs/jiti-vs-tsx: jiti has no built-in watcher and relies on nodemon
GPT-6.2 Sol: 4.3, likely 3.2 to 5.5
TypeScript is common, and developers use direct execution for scripts and tooling. Jiti mainly serves Node.js projects that need an embeddable loader or extra compatibility across module formats. Native type stripping covers many simpler scripts, and surveys give little indication of how many teams still need Jiti's approach.
- 2025.stateofjs.com/en-US/usage: TypeScript accounts for much of respondents' JavaScript work.
- github.com/unjs/jiti/blob/v2.7.0/README.md: Documents the Node.js CLI and embeddable loader.
- nodejs.org/api/typescript.html: Node runs TypeScript with erasable syntax natively.
Helps a lot5.7
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 7.0
As a runtime loader it is very good: zero dependencies, strong CJS/ESM interop, caching, and in 2.7 tsconfig paths and virtual modules. For running, restarting and keeping scripts alive, it lacks watch mode, a REPL and process management, and its Babel transforms are slower than tsx's esbuild. The score reflects the category's job; for config loading alone it would score higher.
- github.com/unjs/jiti/releases: 2.6 cut startup time and bundle size; 2.7 added tsconfigPaths, using/await using and virtual modules
- betterstack.com/community/guides/scaling-nodejs/jiti-vs-tsx: Article credits tsx with faster cold starts, a REPL and watch mode
- npm hasTypes: Ships its own types
- bluesky top: Maintainer's post claims startup fell from 150 ms to 22 ms in 2.6
GPT-6.2 Sol: 6.3, likely 5.2 to 7.4
The stable release has a documented, typed loader API, disk caching and opt-in tsconfig paths. Its CLI runs a file once and leaves watching, supervision and type checking to other tools. Users report stale ESM exports in the default interop mode and expensive startup on some plugin graphs. Those reports make performance and correctness harder to predict across projects.
- github.com/unjs/jiti/blob/v2.7.0/README.md: Documents the API, caching and configuration.
- raw.githubusercontent.com/unjs/jiti/v2.7.0/lib/jiti-cli.mjs: The CLI resolves and imports one entry file.
- github.com/unjs/jiti/issues/457: User reproduced stale mutable ESM exports on 2.7.0.
- github.com/backnotprop/plannotator/issues/1058: User timings show costly startup even with a warm disk cache for one plugin graph.
Holds up over time5.9
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.0 to 7.0
The repository is active (last push yesterday), and heavy use by ESLint, Tailwind and Nuxt makes abandonment unlikely. Activity has slowed: one release and 28 commits in the last year, 45 open PRs, and the Scorecard Maintained check is 0. Work centres on one main UnJS maintainer. Node's native type stripping also shrinks the need for loaders over time.
- github commitsLastYear / releasesLastYear: 28 commits and 1 release in a year
- github openPullRequests: 45 open PRs against 217 merged
- scorecard Maintained: Maintained check scores 0
- betterstack.com/community/guides/scaling-nodejs/jiti-alternatives: Node 22.18 runs TypeScript natively, which reduces the need for loaders
GPT-6.2 Sol: 5.8, likely 4.5 to 7.1
Jiti had 28 commits and one release in the past year, down from several releases in 2025. The lead maintainer has full-time open-source support, but recent tags come from one account and several compatibility fixes are still open. Nuxt 5's nightly branch makes Jiti an optional fallback, so demand for the loader depends in part on where native TypeScript support falls short.
- github commitsLastYear, releasesLastYear, pushedAt: 28 commits, one release and a recent push.
- github.com/unjs/jiti/releases: The release history shows a slower cadence and one recent tagger.
- github.com/unjs/jiti/pulls: Compatibility fixes for imports and caching are still open.
- github.com/sponsors/pi0: The lead maintainer reports full-time open-source support.
- nuxt.com/docs/5.x/getting-started/upgrade#jiti-is-no-longer-bundled: Nuxt 5 uses native loading by default and keeps Jiti as a fallback.
Used widely6.1
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 4.0 to 8.0
Downloads are the highest in the bundle (1.0B per 4 weeks, a ratio of 5.1 against the 4.1 median). Most of that comes from Tailwind v4, ESLint, Nuxt and other tools that install it. ecosyste.ms counts 729k dependent repos, but few developers pick jiti directly to run scripts; tsx is the usual direct choice. The gap between installs and direct choices keeps the range wide.
- npm downloadsLast4Weeks: 1.0B, up from 196M a year ago (ratio 5.1)
- dependents repos: 729,108 repos, second to ts-node and nodemon among peers
- github stars: About 3k stars, far below tsx's 12k
- bluesky posts: Only 6 posts, mostly from the maintainer
GPT-6.2 Sol: 6.2, likely 4.7 to 7.7
Four-week downloads grew 5.1× year over year, ahead of the 4.1× catalog baseline and behind tsx at 9.1×. The 729,108 indexed repositories and 755 npm dependents show broad use, and Tailwind's dependency is one route by which Jiti gets installed automatically. Jiti has about 3,000 stars and six Bluesky links, leaving the number of teams choosing it as a runner hard to pin down.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: About 1.0 billion versus 195.8 million downloads, with a 4.1× baseline.
- dependents, github stars, bluesky posts: Large indexed dependency footprint with modest public attention.
- peers tsx downloadsLast4Weeks, downloadsSame4WeeksYearAgo: tsx downloads grew 9.1× over the same period.
- raw.githubusercontent.com/tailwindlabs/tailwindcss/main/packages/@tailwindcss-node/package.json: Tailwind's Node package declares Jiti as a dependency.
Vouched for7.2
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 5.0 to 8.0
Major projects with a lot at stake build on it in production: ESLint, Tailwind CSS, Nuxt, Nitro, Storybook and Docusaurus. That is strong current validation of its loader quality. There is little independent benchmarking or survey data for it as a script runner, and the comparisons found come from a vendor blog.
- github.com/unjs/jiti: Lists ESLint, Tailwind, Nuxt, Storybook and Docusaurus as users
- redirect.github.com/tailwindlabs/tailwindcss/pull/13322: Tailwind relies on jiti to compile config files
- betterstack.com/community/guides/scaling-nodejs/jiti-vs-ts-node-typescript: Third-party comparison treats it as a production loader
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
Tailwind uses Jiti as a fallback for module loading, and ESLint documents it as the standard path for TypeScript configs on Node.js. OpenClaw has also used Jiti for external TypeScript plugins and published measurements showing slow resolution in that integration. These sources give the strongest evidence for embedding the loader, with less evidence for standalone use.
- raw.githubusercontent.com/tailwindlabs/tailwindcss/main/packages/@tailwindcss-node/src/compile.ts: Tailwind calls Jiti when native import fails.
- eslint.org/docs/latest/use/configure/configuration-files#typescript-configuration-files: ESLint documents Jiti for loading TypeScript configs on Node.js.
- github.com/openclaw/openclaw/issues/168130: A downstream report profiles module resolution in the plugin loader.
Safe6.9
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero runtime dependencies, no OSV advisories ever, and an MIT licence. Its transformer code is bundled into dist, which hides that code from audits by dependency scanners. The Scorecard is 4.4, with weak code review, unpinned dependencies and no security policy. Its very wide transitive install base would make any compromise high-impact.
- npm dependencies: 0 runtime dependencies
- advisories total: No advisories
- scorecard score: 4.4; Code-Review 1, Pinned-Dependencies 1, Security-Policy 0
GPT-6.2 Sol: 6.7, likely 5.4 to 7.9
Jiti has an MIT license, zero separately installed runtime dependencies and no known OSV advisories. The package still bundles Babel and resolver code. Its 4.4 OpenSSF Scorecard shows weak code review and dependency pinning, with no detected security policy. The documented release command runs tests and publishes through npm, while publisher access and release provenance remain unverified.
- npm dependencies, license; advisories total: Zero declared runtime dependencies, MIT and zero OSV advisories.
- scorecard score, checks: 4.4 overall, with low review and pinning scores and no detected security policy.
- github.com/unjs/jiti/blob/v2.7.0/package.json: The release script builds, tests and runs npm publish.
- github.com/unjs/jiti/releases: Release notes document the bundled transformer and dependency updates.
Good
- Zero runtime dependencies, with a programmatic async import API that suits tools loading a user's TypeScript or ESM file.
- ESLint, Tailwind CSS, Nuxt, Nitro, Storybook and Docusaurus all depend on it to load config files.
- Strong ESM/CommonJS interop, a filesystem transpile cache and opt-in tsconfig paths and JSX.
- No security advisories ever, under a permissive MIT licence.
Bad
- No built-in watch or restart mode and no process supervision, so it covers only part of this category's job.
- Only one release and 28 commits in the last year, with 45 open pull requests waiting.
- Its Babel-based transforms are slower on cold runs than esbuild-based tsx, and the CLI has fewer features (no REPL).
- Its huge download count comes almost entirely from other tools that install it, not from developers who choose it.
The numbers
- npm downloads, 4 weeks
- 1B ×5.1 in a year
- GitHub stars
- 3k
- Commits, 12 months
- 28
- npm version
- 2.7.0 May 2026
- Versions, 12 months
- 1
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.4 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (unjs/jiti), npm (jiti), OSV and the OpenSSF Scorecard.