node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

finder-path

finder-path Build Status

Get the path of the current directory in Finder (macOS)

Install

$ npm install --save finder-path

Usage

const finderPath = require('finder-path');
 
finderPath.then(path => {
    console.log(path);
    //=> '/Users/sindresorhus/dev/finder-path/' 
});

License

MIT © Sindre Sorhus