ts-morph
28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed
Your version
1.3.5 is the newest release of 1.x.
In short
2 new3 fixed
Release note
The section about ts-morph of a note shared by several packages.
Bug Fixes
Handle inconsistent file path casings on case insensitive file systems.
ExportableNode#isNamedExport() should work when named export is done via export statement.
Type#isEnum() and isEnumLiteral() would not always return correct values.
Features
VariableDeclaration now has read exportable methods like isDefaultExport().
Add VariableDeclaration#getVariableStatement()
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.