A custom transpiler for Atom packages that enables running TypeScript code directly in the Atom editor. The current stable version is 1.5.3 (released 2020-11-08). This package is in maintenance mode, as the Atom editor itself is now archived. It provides a simple interface between Atom and the TypeScript compiler, supporting TypeScript versions 1.6 through 4.x. Key differentiators: respects tsconfig.json automatically, minimal performance overhead after initial caching, and small footprint (~20 KB). Compared to alternatives like manual pre-transpilation, it allows distributing Atom packages as TypeScript source.
npm install atom-ts-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures an Atom package to use atom-ts-transpiler, with a minimal TypeScript entry point.
Consider migrating to VS Code or another editor.
Use 1.4.3 or >=1.5.1.
Pin TypeScript to a supported version, e.g., 4.0.x or earlier.
rm -rf ~/.atom/compile-cache and restart Atom.
Run 'apm install typescript' in the package directory, or add 'typescript' to the 'dependencies' in package.json.
Upgrade to atom-ts-transpiler >=1.5.1 or downgrade to 1.4.3.
Create a tsconfig.json in the root of your Atom package, or use the 'compilerOptions' property in the transpiler configuration (see docs).
Remove any require('atom-ts-transpiler') calls; only configure it via the 'transpiler' field in package.json.