Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 597 Bytes

File metadata and controls

18 lines (13 loc) · 597 Bytes
description Modern alternatives to depcheck for analyzing project dependencies and unused code

Replacements for depcheck

knip

knip is a more actively maintained and feature-rich alternative to depcheck. In most cases, knip works out of the box without any configuration - just run npx knip. For projects that need customization, you can create a configuration file.

Example:

{
  "$schema": "https://unpkg.com/knip@5/schema.json",
  "ignoreDependencies": ["@types/*", "eslint-*"]
}