Skip to content
JS
Package

knip

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

v6.38.0, 23 Sept 2026ISCESM onlyTypes: BundledTypeScript tooling
$ npm install knip

Key numbers

As of 25 Sept 2026
Weekly downloads
10.5m
+216% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
13
Direct, from package.json
Last release
1 day ago
v6.38.0
GitHub stars
12.3k
501 forks
Open issues / PRs
8 / 7
Contributors
-
Commits, last 52 weeks
1,522

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 14.3m (25 Aug 2026)Low 3.2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

10,457,730 downloads last week, 49,211,664 in the last month. The 12-month change of +216% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
117528 in total
Latest version
6.38.0, 23 Sept 20261 day ago
First published
9 Oct 2022
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
8
Open pull requests
7
Commits, last 52 weeks
1,522
Dependents on npm
116

Major versions

  1. v6 first release 6.0.0, 20 Mar 2026
  2. v5 first release 5.0.0, 10 Feb 2024
  3. v4 first release 4.0.0, 16 Jan 2024
  4. v3 first release 3.0.0, 27 Nov 2023
  5. v2 first release 2.0.0, 22 Mar 2023
  6. v1 first release 1.0.0, 10 Jan 2023
  7. v0 first release 0.1.2, 9 Oct 2022

Recent releases

VersionPublished
6.38.023 Sept 2026
6.37.018 Sept 2026
6.36.016 Sept 2026
6.35.19 Sept 2026
6.35.08 Sept 2026
6.34.031 Aug 2026
6.33.028 Aug 2026
6.32.326 Aug 2026
6.32.211 Aug 2026
6.32.110 Aug 2026
6.32.06 Aug 2026
6.31.031 Jul 2026
6.30.031 Jul 2026
6.29.022 Jul 2026
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.19.0 || >=22.12.0
Runtimes
-
Unpacked size (npm)
1.9 MB
Dependencies (13)
zodfdirjitiyamlunbashformatlypicomatchsmol-tomloxc-parsertinyglobbyget-tsconfigoxc-resolverstrip-json-comments
npm install knip
  • jsDelivrhttps://cdn.jsdelivr.net/npm/knip@6.38.0/
  • unpkghttps://unpkg.com/knip@6.38.0/
  • esm.shhttps://esm.sh/knip@6.38.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@textlint/types1.1m-1 month agoCommonJS-
dependency-cruiser2.8m-4 days agoESM + CommonJS-
fallow840.7k-2 days agoCommonJS-
oxfmt10m-3 days agoESM only-
oxc-transform3.7m-3 days agoESM only-
oxc-transform-react369.9k-3 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.