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
const finderPath = require('finder-path');
 
finderPath.then(path => {
console.log(path);
//=> '/Users/sindresorhus/dev/finder-path/' 
});

MIT © Sindre Sorhus