JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 93279
  • Score
    100M100P100Q177248F
  • License MIT

File Type Validation Plugin for FilePond

Package Exports

  • filepond-plugin-file-validate-type
  • filepond-plugin-file-validate-type/dist/filepond-plugin-file-validate-type
  • filepond-plugin-file-validate-type/dist/filepond-plugin-file-validate-type.esm.js
  • filepond-plugin-file-validate-type/dist/filepond-plugin-file-validate-type.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (filepond-plugin-file-validate-type) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

File Type Validation plugin for FilePond

npm version

https://pqina.nl/filepond/docs/patterns/plugins/file-validate-type/

The File Type Validation plugin handles blocking of files that are of the wrong type. When creating a FilePond instance based on a input type file, this plugin will automatically interpret the accept attribute value.

If you're having trouble setting the correct mime type, use this codepend demo to view the mime type detected by different brosers.

Demo