Skip to main content


TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest


To use:

import { Project } from "";

Or import @ts-morph/bootstrap, which uses the same versioning as ts-morph:

import { createProject } from "";

Please note that this is currently only mostly useful for analyzing Node projects. See #950 for details on making it easier to analyze Deno code.

Note: These modules are not tested that well as I have not implemented a way to test both the node and deno modules. Please let me know if you notice any behaviour differences with the node module.