查看github中npm包的api

228 阅读1分钟

在github中可以直接通过访问如npmdoc.github.io/node-npmdoc… 这种格式的路径地址,查看该包所包含的api方法。

image.png 替换成对应的github仓库名称,就可以查看你想要查看的库的api.