jiti
npmv2.7.0TypeScriptRuntime typescript and ESM support for Node.js
Safe to adopt
Yes — jiti scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 127 days ago. 20 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 127 days ago. 20 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 1.7 MB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding jiti to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the jiti README.
// ESM
import { createJiti } from "jiti";
const jiti = createJiti(import.meta.url);
// CommonJS (deprecated)
const { createJiti } = require("jiti");
const jiti = createJiti(__filename);Dependencies
Declared by jiti v2.7.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (66)
Used by
Popular packages that depend on jiti.
Native-ESM powered web dev build tool
An AST-based pattern checker for JavaScript.
URL utils for humans
Modify a JS/TS file and write back magically just like JSON!
Missing ECMAScript module utils for Node.js
resolve like require.resolve() on behalf of files asynchronously and synchronously
Module resolution utilities based on Node.js upstream implementation.
Compact version of Jimp
Get an available TCP port to listen
A querystring parser that supports nesting and arrays, with a depth limit
Core config loading and inspection utilities for Oxlint Config Inspector.
Universal filesystem path utils
A robust, ES3 compatible, "has own property" predicate.
A helper utility to parse and validate WebdriverIO options
Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers
Relationship graph
Dependencies (left) and dependents (right) of jiti.
Frequently installed together
TypeScript definitions for node
An AST-based pattern checker for JavaScript.
the most correct and second fastest glob implementation in JavaScript
a glob matcher in javascript
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
Cross platform child_process#spawn and child_process#spawnSync
V8 coverage provider for Vitest
An extremely fast JavaScript and CSS bundler and minifier.
Resolve things like Node.js — ponyfill for `import.meta.resolve`
Vite DevTools
A pure JavaScript implementation of Sass.
Release history
7 releases in the last two years, typically about 2 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.7.0latest | 4 months ago | 1.7 MB | MIT |
| 2.6.1 | 11 months ago | 1.6 MB | MIT |
| 2.6.0 | 11 months ago | 1.7 MB | MIT |
| 2.5.1 | 1 year ago | 2.0 MB | MIT |
| 2.5.0 | 1 year ago | 2.0 MB | MIT |
| 2.4.2 | 1 year ago | 2.0 MB | MIT |
| 1.21.7 | 1 year ago | 1.9 MB | MIT |
| 2.4.1 | 1 year ago | 2.0 MB | MIT |
| 2.4.0 | 1 year ago | 2.0 MB | MIT |
| 2.3.3 | 1 year ago | 2.0 MB | MIT |
| 2.3.2 | 1 year ago | 2.0 MB | MIT |
| 2.3.1 | 1 year ago | 2.0 MB | MIT |
| 2.3.0 | 1 year ago | 2.0 MB | MIT |
| 2.2.1 | 1 year ago | 2.0 MB | MIT |
| 2.2.0 | 1 year ago | 2.0 MB | MIT |
Overview
jiti is an npm package that runtime typescript and ESM support for Node.js. It has 15 known dependents in the graph. The latest version is 2.7.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need runtime typescript and ESM support for Node.js and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (66 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use jiti?
Yes — jiti scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 127 days ago. 20 releases in the last 2 years.
How do I install jiti?
Run `npm install jiti` to add jiti to your npm project.
What license is jiti released under?
jiti is distributed under the MIT license.
How popular is jiti?
npm does not publish download counts. Within PackageGraph's crawl, 15 known packages depend on jiti.
Is jiti still maintained?
The most recent release of jiti (v2.7.0) was published 4 months ago.
Does jiti run install scripts?
No. jiti does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.