D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
node_modules
/
npm
/
node_modules
/
is-installed-globally
/
Filename :
index.js
back
Copy
'use strict'; const globalDirs = require('global-dirs'); const isPathInside = require('is-path-inside'); module.exports = isPathInside(__dirname, globalDirs.yarn.packages) || isPathInside(__dirname, globalDirs.npm.packages);