{"library":"node-typescript-compiler","type":"library","category":null,"description":"node-typescript-compiler is a Node.js module that exposes the functionality of the TypeScript compiler (tsc) by spawning the tsc command-line tool as a child process. This allows developers to programmatically invoke tsc from within a Node.js script, enabling advanced build workflows such as compiling multiple variants of modules (e.g., Node/browser) with different compiler options. The current stable version is 4.0.0. While a formal release cadence is not specified, a maintenance badge from 2023 indicates ongoing support. A key differentiator is its simple, reliable wrapper around the tsc CLI, which properly catches and reports compilation errors. It treats `typescript` itself as a peer dependency, giving users explicit control over which tsc version is used. This design promotes a clear separation of concerns, ensuring that node-typescript-compiler acts primarily as an orchestrator for the standard TypeScript toolchain.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","hello","typescript"],"install":[{"cmd":"npm install node-typescript-compiler","imports":["import tsc from 'node-typescript-compiler';","import tsc from 'node-typescript-compiler'; await tsc.compile(...);"]},{"cmd":"yarn add node-typescript-compiler","imports":[]},{"cmd":"pnpm add node-typescript-compiler","imports":[]}],"homepage":null,"github":"https://github.com/Offirmo/offirmo-monorepo--2022.git#main","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-typescript-compiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-typescript-compiler/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}