file-select-dialog

Call file select dialog programmatically

Usage no npm install needed!

<script type="module">
  import fileSelectDialog from 'https://cdn.skypack.dev/file-select-dialog';
</script>

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