metaskills/mocha-phantomjs — pull request #142 by orktes (2014-06-17 13:22:57+00:00)
Title: Export path to bin trough module.exports

This comes handy when mocha-phantomjs needs to be invoked from code.

```js
var mochaPhantomjs = require('mocha-phantomjs');
var binPath = mochaPhantomjs.path;
....
childProcess.execFile(binPath, childArgs, function(err, stdout, stderr) {
// Handle streams
});
```