Packages

knip

6.48.0 · 22 Nov 2026ISC34.2M / weekRepositoryHomepagenpmAtom feed

Your version

6.0.0

major20 Mar 2026Where it was published

6.48.0 is the newest release of 6.x.

In short

1 breaking6 removed

  • Breaking

    In the JSON reporter, issues are consistently arrays for any issue type. Removed root files.

  • Removed

    Dropped support for Node.js v18 → Knip v6 requires Node.js v20.19.0 or newer

  • Removed

    Dropped issue type classMembers

  • Removed

    Dropped --include-libs → this is now the default and only behavior

  • Removed

    Dropped --isolate-workspaces → this is now the default and only behavior

  • Removed

    Dropped --experimental-tags → use --tags

  • Removed

    In reporter functions, issues.files is consistent with other issue shapes. Removed issues._files.

Release note

Blog post: Announcing Knip v6

See the pre-releases for details:

Breaking changes:

  • Breaking

    Dropped support for Node.js v18 → Knip v6 requires Node.js v20.19.0 or newer

  • Removed

    Dropped issue type classMembers

  • Removed

    Dropped --include-libs → this is now the default and only behavior

  • Removed

    Dropped --isolate-workspaces → this is now the default and only behavior

  • Removed

    Dropped --experimental-tags → use --tags

  • In reporter functions, issues.files is consistent with other issue shapes. Removed issues._files.

  • In the JSON reporter, issues are consistently arrays for any issue type. Removed root files.

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.