npm conf:获取npm配置 源码
npm-conf 获取npm配置 安装 $ npm install npm-conf 用法 const npmConf = require ( 'npm-conf' ) ; const conf = npmConf ( ) ; conf . get ( 'prefix' ) //=> //=> /Users/unicorn/.npm-packages conf . get ( 'registry' ) //=> https://registry.npmjs.org/ 要获取所有可用的npm config选项的列表: $ npm config list --long API npmConf
文件列表
npm-conf-master.zip
(预估有个15文件)
npm-conf-master
.travis.yml
51B
index.js
1KB
test.js
601B
package.json
790B
readme.md
655B
license
1KB
.gitignore
23B
lib
util.js
3KB
暂无评论