{"library":"node-tsc","title":"node-tsc","description":"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.","language":"javascript","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["npm install node-tsc"],"cli":null},"imports":["const tsc = require('node-tsc');","tsc.compile(['file.ts'], { outDir: 'dist' }, function(err, output) { ... });","var result = tsc.compileSync(['file.ts'], { outDir: 'dist' });"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const tsc = require('node-tsc');\nconst options = {\n  outDir: 'dist',\n  module: 'commonjs',\n  target: 'es5',\n  sourceMap: true\n};\ntsc.compile(['src/index.ts'], options, function(err, output) {\n  if (err) {\n    console.error('Compilation error:', err);\n  } else {\n    console.log('Compilation succeeded');\n    console.log('Output files:', output);\n  }\n});","lang":"typescript","description":"Shows programmatic TypeScript compilation using compile() with callback.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}