macos-open-file-dialog

1.0.1 • Public • Published

MacOS Open File Dialog

To install the utility use npm

npm i macos-open-file-dialog

You can then import and use the async utilities:

const { openFile, openFolder } = require("macos-open-file-dialog")

const filePath = await openFile("Select a file")
const imagePath = await openFile("Select a photo", ["jpg", "jpeg", "png"])

const folderPath = await openFolder("Select a folder")

Readme

Keywords

none

Package Sidebar

Install

npm i macos-open-file-dialog

Weekly Downloads

6

Version

1.0.1

License

MIT

Unpacked Size

2.92 kB

Total Files

3

Last publish

Collaborators

  • andreazanin