Skip to content

Commit fbb4b9e

Browse files
authored
Update README.md
1 parent a3e07da commit fbb4b9e

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
# @codegenius/depcheck-plugin
1+
# @codegenius/depcheck-plugin
2+
3+
运行 `npm-check` 检查过时的、不正确的和未使用的依赖项, 支持命令模式和 **API** 模式;
4+
5+
使用场景: 用于检测当前项目的依赖项安装情况.
6+
7+
### 命令模式
8+
9+
```bash
10+
codeg depcheck
11+
```
12+
13+
### API 模式
14+
15+
```typescript
16+
import { npmDepCheck } from "code-genius";
17+
18+
(async () => {
19+
await npmDepCheck();
20+
})();
21+
```

0 commit comments

Comments
 (0)