API Reference

FilePond

try { (function(w, u){ u = new URL(w.location) if (u.pathname.endsWith('/')) return u.pathname += u.pathname.endsWith('/') ?

Official Documentation ↗
CompatibilityThis documentation covers version v4.30. Check the official docs for the latest API surface.

Installation

npmnpm install filepond
pnpmpnpm add filepond
yarnyarn add filepond

Methods

Overview

try { (function(w, u){ u = new URL(w.location) if (u.pathname.endsWith(‘/’)) return u.pathname += u.pathname.endsWith(‘/’) ? ‘’ : ‘/’ w.history.replaceState(null, document.title, u.toString()) }(window)) } catch(err){} document.documentElement.className += ’ js’; assetsPath = ‘static/assets/’ Learn more FilePond on GitHub React Vue Svelte Angular jQuery The class

API reference status

This page lists only entry points that appear verbatim in the official README examples: querySelector. Parameter and return types are not given by the official README, so signatures are marked unverified.

Verification notes

Errors

The official API reference declares the following error types:

  • FilePond:error (FilePond 实例事件(回调 onerror,可选接收 file)) — official text: “| FilePond:error | FilePond instance throws an error. Optionally receives file if error is related to a file object. |” (source: https://pqina.nl/filepond/docs/api/instance/events/, fetched 2026-11-08T18:35:00+08:00)

FAQ

What does filepond do?
try { (function(w, u){ u = new URL(w.location) if (u.pathname.endsWith('/')) return u.pathname += u.pathname.endsWith('/') ?
How do I install filepond?
Run `npm install filepond`.
Where can I verify the API details?
Official repository/documentation: https://pqina.nl/filepond/. Checked on 2026-11-04; signatures and return values not stated in the official README are marked unverified.