is-global-exec

Checks whether executable is global.

MIT 6 个版本
安装
npm install is-global-exec
yarn add is-global-exec
pnpm add is-global-exec
bun add is-global-exec
README

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

版本列表
0.1.3 2016-09-23
0.1.2 2016-09-23
0.1.1 2016-09-22
0.1.0 2016-09-15
0.0.2 2016-09-14
0.0.1 2016-09-14