finder-path

Get the path of the current directory in Finder (OS X)

finder-path

Get the path of the current directory in Finder (OS X)

$ npm install --save finder-path
var finderPath = require('finder-path');
 
finderPath(function (errpath) {
    console.log(path);
    //=> /Users/sindresorhus/dev/finder-path/ 
});

MIT © Sindre Sorhus