{"library":"ts-node","type":"library","category":null,"description":"ts-node is a TypeScript execution environment and REPL for Node.js, enabling developers to run TypeScript files directly without a separate compilation step. It provides on-the-fly transpilation, full source map support, and a rich programmatic API. The current stable version is 10.9.2, with frequent patch releases addressing bug fixes and compatibility updates for Node.js and TypeScript versions. Key differentiators include robust integration with Node.js's module system, comprehensive support for both CommonJS and native ECMAScript Modules (ESM) via dedicated flags and binaries (like `ts-node-esm`), and the ability to leverage either TypeScript's official compiler or `@swc/core` for faster transpilation. It is designed to integrate seamlessly into existing Node.js workflows for development, testing, and scripting.","language":"javascript","status":"active","version":"10.9.2","tags":["javascript","typescript","node","runtime","environment","ts","compiler"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ts-node","imports":["import { register } from 'ts-node/dist/index'","node --loader ts-node/esm my-esm-script.ts","import type { Service } from 'ts-node'"]},{"cmd":"yarn add ts-node","imports":[]},{"cmd":"pnpm add ts-node","imports":[]}],"homepage":"https://typestrong.org/ts-node","github":"https://github.com/TypeStrong/ts-node","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ts-node","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/ts-node/compatibility"}}