Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

file-select-dialog

TomokiMiyauci5.5kMIT1.5.4TypeScript support: included

Call file select dialog programmatically

file, dialog, file-dialog, file-select-dialog, file-selection-dialog, browser, file-browser, filelist

readme

logo

npm version size size code style: prettier Commitizen friendly semantic-release MIT License

file-select-dialog

Directly call file select dialog from JavaScript. Get Back Promise File or FileList object. No more hacky hiding of <input type="file"> elements.

:sparkles: Feature

  • Supports ES6 Modules
  • Pure Typescript
  • Promise
  • No dependencies, Optimization, Super slim size
  • Modern browser support only
  • Supports selecting multiple files and the file type accepts

Read the Docs to Learn More.

:bulb: LICENSE

MIT

changelog

1.5.4 (2021-02-10)

Bug Fixes

1.5.3 (2021-02-10)

1.5.2 (2021-02-10)

Bug Fixes

1.5.1 (2021-02-10)

Bug Fixes

1.5.0 (2020-11-29)

Features

  • file-dialog: add strict parameter and change default return types (b9754e2)

1.4.1 (2020-11-28)

Performance Improvements

  • rollup.config.ts: change output format (de7de62)

1.4.0 (2020-11-22)

Features

  • add form composition function (96ac5cb)
  • components/*: add new component (8db2c6f)

1.3.1 (2020-11-21)

Bug Fixes

  • package.json: fix entrypoint (df1f6d1)

1.3.0 (2020-11-21)

Features

  • file-dialog.ts: split functions (36a6619)

1.2.1 (2020-11-20)

Bug Fixes

  • index.ts: change to named export (233504e)

1.2.0 (2020-11-20)

Features

  • index.ts: change to default export (337f54a)

1.1.1 (2020-11-19)

Performance Improvements

  • rollup.config.ts: apply minify (64c0442)

1.1.0 (2020-11-18)

Features

  • file-dialog.ts: accept string and string array (5ae6df3)
  • util.ts: add parser for array to string (551df7f)

1.0.0 (2020-11-18)

Features

  • error.ts: add error class (abab6f4)
  • file-dialog.ts: add main feature (3b21ed7)
  • index.ts: add entrypoint (402a1f0)