knip
6.48.0 · 22 Nov 2026ISC34.2M / weekRepositoryHomepagenpmAtom feed
5.88.1 is the newest release of 5.x.
In short
16 new7 fixed34 changed1 internal
Release note
Post-release shenanigans
Move most compilers to plugins & register from there
Minor refactor
Fix lint issues
Add missing catalog property to rules in JSON schema
plugins: Add @typescript/native-preview (tsgo) support
Fix up quoting for spaced args (resolve #1515)
Switch to tsconfig-aware module resolver in input handler
Use
bun testpositionals as entry points (resolve #1521)Edit docs
Minor refactor while at it
Add config hints for unused
ignoreandignoreFilesitemsAccept known bins only behind double-dash (resolve #1524)
plugins: Add support for bun test preloaded files
Add
datetoIGNORED_GLOBAL_BINARIESFix edge case for binaries in scripts
Report ignore/files config hints only if sure & relevant
Add consistent
repositoryfieldsAdd language-server bin
Use --stdio if no transport provided
Refactor from "enabled" to "deferSession" (resolve #1499)
Use
initializationOptions.configor default fallback config obj (resolve #1503)Also publish ls + mcp with pkg-pr-new
Auto-format
Remove
chdirshenanigans (close #1516)Bind
console.*to distinguish internal↔ external logsAdd early bail-outs for changed files we can ignore
Avoid unnecessary module graph updates for unmodified files
Add .DS_Store to .gitignore
Ignore RNC CLI and metro internals in react-native projects
Support nested _generated dirs in Convex plugin
Housekeep cli help output
Fix up gitignore test
Introduce
isFilterTransitiveDependenciesflag (close #1507, close #1101)Housekeep webpack plugin
Move up
plugin.setup& tear downplugin.teardownSkip config file loading if only external re-exports
Improve & optimize ignore pattern handling
Housekeep compiler registration
Edit docs re. config file location
Register visitors from plugins
importMetaGlobCall visitor for Vite plugin
Extend registerVisitors with script visitor support
Move execa script visitor to execa plugin
Move zx script visitor to zx plugin
Add require.context visitor to webpack plugin
Add module.register() visitor for Node.js loader API (resolve #1535)
Add .DS_Store in fixtures to .gitignore
Mention that depcheck recommends knip
Remove
@sourcematcher from tailwind plugin (resolve #1537)Fix
-w→-Wflag for YarnUpdate AGENTS.md
Extract and extend react-native plugin
Add pm2 plugin
Fix Yarn (Berry) plugins and binaries reported as unused
Update docs
Minor refactor while at it
Add @knip/create-config to release script
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.