A CLI tool to analyze the optimal migration order from JavaScript to TypeScript in mixed JS/TS projects. v0.3.0 is the latest stable release, updated sporadically. It provides a topological sort of files based on import dependencies, identifying leaf nodes (files with no imports) as good candidates for early migration. Key differentiators: works with both JS and TS files, supports --config for TypeScript config, and includes a 'why' command to explain non-leaf status. Unlike general dependency analysis tools, it focuses specifically on migration order.
npm install ts-analyzeNo compatibility data collected yet for this library.
Analyze migration order for JS/TS files with a TypeScript config.
Provide at least one --entry argument.
Ensure tsconfig.json is provided via --config.
Use --entry file.ts instead.
Run `npm install -D typescript` in your project.
Add --entry path/to/file (file can be .js or .ts).
No dependency data recorded yet.