TypeScript Register

JSON →
library 1.1.0 ·javascript abandoned
verified May 27, 2026

TypeScript Register is a utility library designed to enable direct `require()` calls for TypeScript files within Node.js applications, bypassing the need for a separate pre-compilation step. This package offers an alternative approach to other similar tools by integrating directly with the official TypeScript API rather than forking `tsc`, ensuring dependencies run within the same context as the parent module. For performance, it implements a caching mechanism, storing compiled outputs in a temporary directory (e.g., `/tmp/typescript-register/...`). Configuration options, including error emission, cache utilization, and custom TypeScript compiler options, are managed exclusively via environment variables. While functional for immediate TypeScript execution in Node.js, it has seen no significant updates since version 1.1.0, published in 2018, making its compatibility with modern Node.js and TypeScript versions, as well as ESM modules, uncertain. Its primary use case was for simplifying development and testing workflows in a CommonJS-centric Node.js ecosystem.

total hits 35
actors 7 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
Search engines
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇳🇴 Norway · 🇩🇪 Germany