Skip to main content

Built and signed on GitHub Actions

TypeScript Compiler API wrapper for static analysis and programmatic code changes.

This package works with Deno, Browsers
This package works with Deno
This package works with Browsers
JSR Score
82%
Published
3 months ago (25.0.1)

ts-morph

To use:

deno add ts-morph@jsr:@ts-morph/ts-morph
import { Project } from "ts-morph";

Or use @ts-morph/bootstrap:

deno add @ts-morph/bootstrap
import { createProject } from "@ts-morph/bootstrap";

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.

Built and signed on
GitHub Actions
View transparency log

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@ts-morph/ts-morph

Import symbol

import * as ts_morph from "@ts-morph/ts-morph";
or

Import directly with a jsr specifier

import * as ts_morph from "jsr:@ts-morph/ts-morph";