https://github.com/raineorshine/binpath
Returns the executable path of a local npm module.
https://github.com/raineorshine/binpath
Last synced: 3 months ago
JSON representation
Returns the executable path of a local npm module.
- Host: GitHub
- URL: https://github.com/raineorshine/binpath
- Owner: raineorshine
- License: mit
- Created: 2014-05-18T20:35:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-19T13:02:05.000Z (about 11 years ago)
- Last Synced: 2025-03-10T15:09:30.969Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# binpath
[](https://travis-ci.org/metaraine/binpath)
[](http://badge.fury.io/js/binpath)> Returns the executable path of a local npm module.
## Install
```sh
$ npm install --save binpath
```## Usage
```js
var binpath = require('binpath');
console.log( binpath('mocha') ); // '/PROJECT_DIR/node_modules/mocha/bin/mocha');
```## License
MIT © [Raine Lourie](https://github.com/metaraine)