# filepond
**Repository Path**: mirrors/filepond
## Basic Information
- **Project Name**: filepond
- **Description**: FilePond 是一个 JavaScript 文件上传库,可以上传任何内容,并能够优化图像以加快上传速度,同时提供顺畅的用户体验
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 15
- **Forks**: 8
- **Created**: 2019-06-12
- **Last Updated**: 2025-09-27
## Categories & Tags
**Categories**: javascript-toolkits
**Tags**: None
## README
# [](https://pqina.nl/filepond/)
A JavaScript library that can upload anything you throw at it, optimizes images for faster uploads, and offers a great, accessible, silky smooth user experience.
[](https://github.com/pqina/filepond/blob/master/LICENSE)
[](https://www.npmjs.com/package/filepond)

[](https://bundlephobia.com/package/filepond)
FilePond adapters are available for **[React](https://github.com/pqina/react-filepond)**, **[Vue](https://github.com/pqina/vue-filepond)**, **[Angular](https://github.com/pqina/ngx-filepond)**, **[Svelte](https://github.com/pqina/svelte-filepond)**, and **[jQuery](https://github.com/pqina/jquery-filepond)**
---
[
](https://www.buymeacoffee.com/rikschennink/)
[Buy me a Coffee](https://www.buymeacoffee.com/rikschennink/) / [Use FilePond with Pintura](https://pqina.nl/pintura/?ref=github-filepond) / [Dev updates on Twitter](https://twitter.com/rikschennink/)
---
### Core Features
- Accepts **directories**, **files**, blobs, local URLs, **remote URLs** and Data URIs.
- **Drop files**, select on filesystem, **copy and paste files**, or add files using the API.
- **Async uploads** with AJAX, supports **chunk uploads**, can encode files as base64 data and send along form post.
- **Accessible**, tested with AT software like VoiceOver and JAWS, **navigable by Keyboard**.
- **Image optimization**, automatic image resizing, **cropping**, filtering, and **fixes EXIF orientation**.
- **Responsive**, automatically scales to available space, is functional on both **mobile and desktop devices**.
[Learn more about FilePond](https://pqina.nl/filepond/)
[
](https://pqina.nl/filepond/)
---
### Also need Image Editing?
**Pintura the modern JavaScript Image Editor** is what you're looking for. Pintura supports setting **crop aspect ratios**, **resizing**, **rotating**, **cropping**, and **flipping** images. Above all, it integrates beautifully with FilePond.
[Learn more about Pintura](https://pqina.nl/pintura/?ref=github-filepond)
[
](https://pqina.nl/pintura/?ref=github-filepond)
---
### Live Demos
- [React](https://stackblitz.com/github/pqina/pintura-example-react?file=src%2FExampleFilePond.js)
- [Angular](https://stackblitz.com/github/pqina/pintura-example-angular?file=src%2Fapp%2Ffilepond-example%2Ffilepond-example.component.ts)
- [Svelte](https://stackblitz.com/github/pqina/pintura-example-svelte?file=src%2FApp.svelte%3AL152)
- [Vue](https://stackblitz.com/github/pqina/pintura-example-vue-3?file=src%2FExampleFilePond.vue)
### Plugins
- [File encode](https://github.com/pqina/filepond-plugin-file-encode)
- [File rename](https://github.com/pqina/filepond-plugin-file-rename)
- [File size validation](https://github.com/pqina/filepond-plugin-file-validate-size)
- [File type validation](https://github.com/pqina/filepond-plugin-file-validate-type)
- [File metadata](https://github.com/pqina/filepond-plugin-file-metadata)
- [File poster](https://github.com/pqina/filepond-plugin-file-poster)
- [Image editor](https://github.com/pqina/filepond-plugin-image-edit)
- [Image size validation](https://github.com/pqina/filepond-plugin-image-validate-size)
- [Image preview](https://github.com/pqina/filepond-plugin-image-preview)
- [Image crop](https://github.com/pqina/filepond-plugin-image-crop)
- [Image filter](https://github.com/pqina/filepond-plugin-image-filter)
- [Image resize](https://github.com/pqina/filepond-plugin-image-resize)
- [Image transform](https://github.com/pqina/filepond-plugin-image-transform)
- [Image EXIF orientation](https://github.com/pqina/filepond-plugin-image-exif-orientation)
- [Image overlay](https://github.com/nielsboogaard/filepond-plugin-image-overlay) ([nielsboogaard/filepond-plugin-image-overlay](https://github.com/nielsboogaard/filepond-plugin-image-overlay))
- [Media preview](https://github.com/nielsboogaard/filepond-plugin-media-preview) ([nielsboogaard/filepond-plugin-media-preview](https://github.com/nielsboogaard/filepond-plugin-media-preview))
- [Media preview + PDF preview](https://github.com/ErnestBrandi/filepond-plugin-media-preview) ([ErnestBrandi/filepond-plugin-media-preview](https://github.com/ErnestBrandi/filepond-plugin-media-preview))
- [Get file](https://github.com/nielsboogaard/filepond-plugin-get-file) ([nielsboogaard/filepond-plugin-get-file](https://github.com/nielsboogaard/filepond-plugin-get-file))
- [Zip Directory Uploads](https://github.com/tzsk/filepond-plugin-zipper) ([tzsk/filepond-plugin-zipper](https://github.com/tzsk/filepond-plugin-zipper))
- [PDF Preview](https://github.com/Adri-Glez/filepond-plugin-pdf-preview) ([Adri-Glez/filepond-plugin-pdf-preview](https://github.com/Adri-Glez/filepond-plugin-pdf-preview))
- [PDF Convert](https://github.com/alexandreDavid/filepond-plugin-pdf-convert) ([alexandreDavid/filepond-plugin-pdf-convert](https://github.com/alexandreDavid/filepond-plugin-pdf-convert))
### Adapters
- [React](https://github.com/pqina/react-filepond)
- [Vue](https://github.com/pqina/vue-filepond)
- [Svelte](https://github.com/pqina/svelte-filepond)
- [jQuery](https://github.com/pqina/jquery-filepond)
- [Angular](https://github.com/pqina/ngx-filepond)
- [Angular 1](https://github.com/johnnyasantoss/angularjs-filepond) ([johnnyasantoss/angularjs-filepond](https://github.com/johnnyasantoss/angularjs-filepond))
- [Blazor](https://github.com/soenneker/soenneker.blazor.filepond) ([soenneker/soenneker.blazor.filepond](https://github.com/soenneker/soenneker.blazor.filepond))
- [Ember](https://github.com/alexdiliberto/ember-filepond) ([alexdiliberto/ember-filepond](https://github.com/alexdiliberto/ember-filepond))
### Backend
- [PHP](https://github.com/pqina/filepond-boilerplate-php)
- [Django](https://github.com/ImperialCollegeLondon/django-drf-filepond) ([ImperialCollegeLondon/django-drf-filepond](https://github.com/ImperialCollegeLondon/django-drf-filepond))
- [Laravel](https://github.com/Sopamo/laravel-filepond) ([Sopamo/laravel-filepond](https://github.com/Sopamo/laravel-filepond))
- [Laravel](https://github.com/Albert221/laravel-filepond) ([Albert221/laravel-filepond](https://github.com/Albert221/laravel-filepond))
- [SilverStripe](https://github.com/lekoala/silverstripe-filepond) ([lekoala/silverstripe-filepond](https://github.com/lekoala/silverstripe-filepond))
- [Ruby on Rails](https://github.com/Code-With-Rails/filepond-rails) ([Code-With-Rails/filepond-rails](https://github.com/Code-With-Rails/filepond-rails))
## Quick Start
Install using npm:
```bash
npm install filepond
```
Then import in your project:
```js
import * as FilePond from 'filepond';
// Create a multi file upload component
const pond = FilePond.create({
multiple: true,
name: 'filepond',
});
// Add it to the DOM
document.body.appendChild(pond.element);
```
Or get it from a CDN:
```html