native-kde-file-open

0.0.4 • Public • Published

Native KDE File Open

This module allows for the opening of a native file window in KDE distributions, and is intended for use in Electron applications until a full fix has been created for this issue.

To use:

  const nativePicker = require('native-kde-file-open');
 
  // to open single file or multiple files, with promise
  nativePicker.openFile().then(ret =>{
    console.log(ret);
  });
 
  // to open single file or multiple files, with callback
  nativePicker.openFile((err, ret) =>{
    console.log(ret);
  });
 
  // to save single file or multiple files, with promise
  nativePicker.saveFile().then(ret =>{
    console.log(ret);
  });
 
  // to save single file or multiple files, with callback
  nativePicker.saveFile((err, ret) =>{
    console.log(ret);
  });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i native-kde-file-open

Weekly Downloads

3

Version

0.0.4

License

MIT

Last publish

Collaborators

  • codebytere