get-bin
Get the name of the executable.
Install
$ npm install --save get-bin
Usage
const getBin = // if no `bin` set in `package.json`//=> null // for a specific path // in sync modegetBin
API
getBin([options])
options
cwd
Type: string
Default: Path.dirname(module.parent.filename)
The path a package.json
relative to.
.sync
Sync mode.
License
MIT © EGOIST