is-path-global
v2.0.0 check file filepath folder global in inside path pwd and 1 more...
is-path-global
Check if a path is in PATH
Install
$ npm install --save is-path-global
Usage
const isPathGlobal = require('is-path-global');
isPathGlobal('/bin/sh');
//=> true
isPathGlobal('/home/sirjohndoe');
//=> false
License
MIT © Kevin Mårtensson