ts-morph
28.0.0 · 12 Apr 2026MIT46.3M / weekRepositoryHomepagenpmAtom feed
Your version
4.3.3 is the newest release of 4.x.
In short
1 new1 fixed
Release note
The section about ts-morph of a note shared by several packages.
Bug Fixes
An unwrappable node would throw an error on unwrap if it had a leading comment.
Features
Add
Node#getWidth(true)for including js docs in the width (similar toNode#getStart(true)in the compiler api).
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.