Current Path : /opt/alt/alt-nodejs14/root/usr/lib/node_modules/npm/node_modules/latest-version/ |
Current File : //opt/alt/alt-nodejs14/root/usr/lib/node_modules/npm/node_modules/latest-version/index.js |
'use strict'; const packageJson = require('package-json'); module.exports = name => packageJson(name.toLowerCase()).then(data => data.version);