finder-path
Get the path of the current directory in Finder (macOS)
Install
$ npm install finder-path
Usage
import finderPath from 'finder-path';
console.log(await finderPath());
//=> '/Users/sindresorhus/dev/finder-path/'
Get the path of the current directory in Finder (macOS)
$ npm install finder-path
import finderPath from 'finder-path';
console.log(await finderPath());
//=> '/Users/sindresorhus/dev/finder-path/'
npm i finder-path
2
4.0.0
MIT
2.3 kB
4