Usage
const stats = require('@ftchinese/component-stats');
stats(options);
options
is an object with:
-
repoDir
String. The repo to collection information. Default to cwd. -
outDir
String. The destination directory to put result json file. Default to cwd.