is-path-global

v2.0.0
Check if a path is in PATH
check file filepath folder global in inside path pwd and 1 more...

is-path-global Build Status

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

npm i is-path-global

Metadata

  • MIT
  • >=4
  • Kevin Mårtensson
  • released 9/29/2016

Downloads

Maintainers