finder-path

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

Usage no npm install needed!

<script type="module">
  import finderPath from 'https://cdn.skypack.dev/finder-path';
</script>

README

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/'