你可以这样做。
npm install -g npm-deps-stats
cd <your project>
npm-stats
hack to the codes -> https://github.com/metrue/npm-stats
screen shot

你可以这样做。
npm install -g npm-deps-stats
cd <your project>
npm-stats
hack to the codes -> https://github.com/metrue/npm-stats
screen shot

1
phoenixlzx Sep 7, 2016
个人认为 Star/watch/fork/issue 已经不再代表代码质量。
|
2
metrue OP @phoenixlzx 只是一定程度上了解一下你的依赖吧,要真正的衡量不容易。
|
3
Senorsen Sep 7, 2016
不错,已 star
|
4
phoenixlzx Sep 7, 2016
@metrue 不如 lint 一下 node_modules 里的代码(ry
|
5
metrue OP @phoenixlzx 看个人需求吧。
|
6
rupert Sep 7, 2016
再牛逼的库也发现不少问题 或者叫 feature, 得看源码 debug
|
8
colatin Sep 7, 2016
不如看有没有 tsd
|
9
songjiaxin2008 Sep 7, 2016
不如看看 issue 都是多少天处理完
|
10
lincanbin Sep 7, 2016
我还以为代码质量,是指单元测试的覆盖度……
|
11
ericls Sep 9, 2016
我以为可以看 test coverage
而去 npm 和 github 社区还是分得比较开 有时候 npm 上很热门的 github 上没什么人。。。 |