# filepond-plugin-file-validate-type

> File Type Validation Plugin for FilePond

Latest version **1.2.9** (published 2024-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install filepond-plugin-file-validate-type
pnpm add filepond-plugin-file-validate-type
yarn add filepond-plugin-file-validate-type
bun add filepond-plugin-file-validate-type
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.9 |
| Published | 2024-02-14 |
| First published | 2017-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 35 |
| Author | PQINA |
| Maintainers | pqina |

## Links

- npm: https://www.npmjs.com/package/filepond-plugin-file-validate-type
- Repository: https://github.com/pqina/filepond-plugin-file-validate-type
- Homepage: https://pqina.nl/filepond/
- Issues: https://github.com/pqina/filepond-plugin-file-validate-type/issues
- npm.io page: https://npm.io/package/filepond-plugin-file-validate-type

## Recent versions

- 1.2.9 (latest) — 2024-02-14
- 1.2.8 — 2022-05-10
- 1.2.7 — 2022-04-19
- 1.2.6 — 2021-03-19
- 1.2.5 — 2020-03-23
- 1.2.4 — 2019-03-25
- 1.2.3 — 2019-03-22
- 1.2.2 — 2019-02-05
- 1.2.1 — 2018-12-17
- 1.2.0 — 2018-10-10
- 1.1.0 — 2018-05-17
- 1.0.3 — 2018-04-13
- 1.0.2 — 2018-02-15
- 1.0.1 — 2017-12-27
- 1.0.0 — 2017-11-28

## README

# File Type Validation plugin for FilePond

[![npm version](https://badge.fury.io/js/filepond-plugin-file-validate-type.svg)](https://badge.fury.io/js/filepond)

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](https://codepen.io/rikschennink/pen/NzRvbj) to view the mime type detected by different brosers.

[Demo](https://pqina.github.io/filepond-plugin-file-validate-type/)

---
_Source: https://npm.io/package/filepond-plugin-file-validate-type · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
