node-tsc wraps the TypeScript command-line compiler (tsc) as a Node.js module, enabling programmatic compilation of TypeScript files. Version 0.0.14 is the latest stable release, last updated in 2015. It provides a simple API to compile TypeScript code without invoking the CLI. Notable issues: the package is unmaintained, very outdated, and does not support modern TypeScript features (ES modules, strict mode). Dependencies are minimal: only Node.js and a TypeScript compiler from npm (installed separately). Key differentiator: simple wrapper for tsc, but now obsolete; use ts-node, @ts-morph/bootstrap, or the official TypeScript API instead.
npm install node-tscNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows programmatic TypeScript compilation using compile() with callback.
Replace with ts-node, @ts-morph/bootstrap, or TypeScript's compiler API directly.
Run 'npm install typescript' in your project.
Test with your TypeScript version; consider using official API for better compatibility.
Use official TypeScript API or tools like ts-project-utils.
Run 'npm install typescript'.
Use 'const tsc = require('node-tsc');' instead of 'import tsc from 'node-tsc';'.