1.0.1 • Published 6 years ago
is-global-install v1.0.1
is-global-install
Checks if a package was installed globally in Node.
Install
npm i is-global-install
Usage
const isGlobalInstall = require('is-global-install')()
console.log(isGlobalInstall)
// => If installed globally, true