UNPKG

nvm-global-installs

Version:

Get the globally installed packages for any nvm-selectable version.

11 lines (9 loc) 194 B
const commandExists = require("command-exists") module.exports = async () => { try { await commandExists("nvm") return true } catch (err) { return false } }