is-global-exec

v0.1.3
Checks whether executable is global.
global executable check

is-global-exec

Build Status npm

Checks whether executable is global.

Installation

npm i is-global-exec -S

Usage

test/test

var isGlobal = require('is-global-exec')
console.log(isGlobal())

run script

$ node test/test
# -> false # 'test/test' is local executable

$ test/test
# false # 'test/test' is local executable

# if 'test/test' is install global, it will print 'true'

License

MIT

npm i is-global-exec

Metadata

  • MIT
  • Whatever
  • qingwei-li
  • released 9/23/2016

Downloads

Maintainers