# filepond
**Repository Path**: findroot/filepond
## Basic Information
- **Project Name**: filepond
- **Description**: 文件上传库
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-10-20
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#
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)
21 KB gzipped. 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)** and **[jQuery](https://github.com/pqina/jquery-filepond)**
FilePond is maintained by **[Rik Schennink](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/)
---
### Also need Image Editing?
**Doka.js** is what you're looking for. It's a Modern JavaScript Image Editor, Doka supports setting **crop aspect ratios**, **resizing**, **rotating**, **cropping**, and **flipping** images. Above all, it integrates beautifully with FilePond.
[Learn more about Doka](https://pqina.nl/doka/?ref=github)
---
### FilePond 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))
* [Get file](https://github.com/nielsboogaard/filepond-plugin-get-file) ([nielsboogaard/filepond-plugin-get-file](https://github.com/nielsboogaard/filepond-plugin-get-file))
### 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))
* [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))
## 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