JavaScript如何获取nodejs中安装包的版本? 如下: var pjson = require('./package.json'); console.log(pjson.version); ……继续阅读 » 2周前 (02-19) 19浏览 0评论 0个赞