$ npm install finder-path
Get the path of the current directory in Finder (macOS)
import finderPath from 'finder-path'; console.log(await finderPath()); //=> '/Users/sindresorhus/dev/finder-path/'