1.0.0 • Published 2 years ago
code-xcst v1.0.0
统计项目中的代码量
调用方式 1、cjs模块调用 2、命令行调用
const xcst = require('code-statistics');
const cwd = '项目路径'
const { val, all } = xcst(cwd)
// val 统计结果
// all 统计文件MAP
// 命令行方式
xcst /Users/zyn/fontend
1.0.0
2 years ago
调用方式 1、cjs模块调用 2、命令行调用
const xcst = require('code-statistics');
const cwd = '项目路径'
const { val, all } = xcst(cwd)
// val 统计结果
// all 统计文件MAP
// 命令行方式
xcst /Users/zyn/fontend
2 years ago