Gathering detailed insights and metrics for filepond
Gathering detailed insights and metrics for filepond
Gathering detailed insights and metrics for filepond
Gathering detailed insights and metrics for filepond
🌊 A flexible and fun JavaScript file upload library
npm install filepond
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
15,233 Stars
772 Commits
828 Forks
158 Watching
7 Branches
76 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
JavaScript (95.83%)
CSS (4.03%)
HTML (0.14%)
Cumulative downloads
Total Downloads
Last day
20.3%
36,025
Compared to previous day
Last week
2.3%
167,157
Compared to previous week
Last month
27.4%
655,873
Compared to previous month
Last year
33.9%
5,788,198
Compared to previous year
21
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.
FilePond adapters are available for React, Vue, Angular, Svelte, and jQuery
Buy me a Coffee / Use FilePond with Pintura / Dev updates on Twitter
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.
Install using npm:
1npm install filepond
Then import in your project:
1import * as FilePond from 'filepond'; 2 3// Create a multi file upload component 4const pond = FilePond.create({ 5 multiple: true, 6 name: 'filepond', 7}); 8 9// Add it to the DOM 10document.body.appendChild(pond.element);
Or get it from a CDN:
1<!DOCTYPE html> 2<html> 3 <head> 4 <title>FilePond from CDN</title> 5 6 <!-- Filepond stylesheet --> 7 <link href="https://unpkg.com/filepond/dist/filepond.css" rel="stylesheet" /> 8 </head> 9 <body> 10 <!-- We'll transform this input into a pond --> 11 <input type="file" class="filepond" /> 12 13 <!-- Load FilePond library --> 14 <script src="https://unpkg.com/filepond/dist/filepond.js"></script> 15 16 <!-- Turn all file input elements into ponds --> 17 <script> 18 FilePond.parse(document.body); 19 </script> 20 </body> 21</html>
The locale folder contains different language files, PR's are welcome, you can use locale files like this:
1import pt_BR from 'filepond/locale/pt-br.js';
2
3FilePond.setOptions(pt_BR);
At the moment test coverage is not great, it's around 65%. To accept pull requests the tests need to be better, any help to improve them is very much appreciated.
Tests are based on Jest and can be run with npm run test
To build the library run npm run build
FilePond is compatible with a wide range of desktop and mobile browsers, the oldest explicitly supported browser is IE11, for best cross browser support add FilePond Polyfill and Babel polyfill to your project.
FilePond uses BrowserStack for compatibility testing.
Please don't remove or change the disclaimers in the source files
MIT License
Copyright (c) 2020 PQINA | Rik Schennink
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
22 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/16 approved changesets -- score normalized to 3
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
56 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More