is-path-global
v2.0.0
Published
Check if a path is in PATH
Downloads
1,773
Maintainers
Readme
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