Files
rpiRadio/ProjectNow/NodeServer/node_modules/is-installed-globally/index.js
2018-05-19 02:20:19 +02:00

6 lines
226 B
JavaScript

'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);