native-file-dialog

0.2.0 • Public • Published

native-file-dialog

node native file/floder dialog.

基于rust的wfd crate封装的一个node可执行包,支持 Windows macOS,调用系统原生 文件/文件夹选择框。

只暴露两个function,用法非常清真。

Version Downloads/week License

Example

const nativeDialog = require('native-file-dialog')

const file_path = nativeDialog.file_dialog()
console.log(file_path) // path || UserCancelled

const folder_path = nativeDialog.folder_dialog()
console.log(folder_path) // path || UserCancelled

Readme

Keywords

none

Package Sidebar

Install

npm i native-file-dialog

Weekly Downloads

4

Version

0.2.0

License

ISC

Unpacked Size

182 kB

Total Files

3

Last publish

Collaborators

  • geekzzboom