【发布时间】:2014-03-05 15:01:11
【问题描述】:
我想更好地了解 npm 的工作原理。特别是,当我运行npm install -g yo 时,我注意到(Windows)命令行上的以下输出:
npm http 304 http://registry.npmjs.org/debuglog/0.0.2
npm http GET https://github.com/Filirom1/nopt/tarball/master#pull-request-in-pro
gress
我知道调试日志模块正在从 npm 注册表中提取,但是 nopt 发生了什么?为什么要去github repo?
另外,告诉 npm 去 github repo 并从那里下载 tarball 的配置在哪里?
【问题讨论】: