1.0.0 • Published 2 years ago

ccmd-core-holmes v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

ccmd-core-holmes

福尔摩斯!为您的项目提供安全扫描服务!

1作为命令行工具使用

安装

   yarn global add  ccmd-core-holmes

使用

# 您可以在任意前端项目的根目录下运行
holmes check 
## 2作为依赖包使用
安装
```bash
   yarn add  ccmd-core-holmes

使用

   const PackageSafeWorker  = require('ccmd-core-holmes');
   const packageSafeWorker = new PackageSafeWorker({
       proPath   //参数,要检测项目的绝对路径
   });
   const result = await PackageSafeWorker.run();
   console.log('项目依赖包安全检测结果:', result)