Gathering detailed insights and metrics for filepond-plugin-fetch-svg-preview
Gathering detailed insights and metrics for filepond-plugin-fetch-svg-preview
npm install filepond-plugin-fetch-svg-preview
Typescript
Module System
Node Version
NPM Version
70.4
Supply Chain
83.6
Quality
75.6
Maintenance
100
Vulnerability
100
License
JavaScript (68.03%)
HTML (19.9%)
SCSS (12.07%)
Total Downloads
1,700
Last Day
1
Last Week
6
Last Month
20
Last Year
197
1 Stars
10 Commits
1 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.9
Package Id
filepond-plugin-fetch-svg-preview@1.0.9
Unpacked Size
21.50 kB
Size
5.94 kB
File Count
9
NPM Version
6.4.1
Node Version
10.14.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
500%
6
Compared to previous week
Last month
233.3%
20
Compared to previous month
Last year
-28.4%
197
Compared to previous year
This Fetch SVG Preview plugin will kick in automatically when the uploaded file has an SVG extension with incorrect Content-Type e.g. application/octet-stream which is common in S3 bucket.
Install using yarn or npm:
1yarn add filepond-plugin-fetch-svg-preview
1npm install filepond-plugin-fetch-svg-preview
Then import in your project:
1import * as FilePond from 'filepond'; 2import FilePondPluginFetchSVGPreview from 'filepond-plugin-fetch-svg-preview';
Register the plugin:
1FilePond.registerPlugin(FilePondPluginFetchSVGPreview);
Create a new FilePond instance as normal.
1const pond = FilePond.create({
2 name: 'filepond'
3});
4
5// Add it to the DOM
6document.body.appendChild(pond.element);
The Fetch SVG preview will become active when loading an SVG file as describe above. It will remove all hyperlinks within the SVG documents itself for security reason.
props name | description |
---|---|
allowFetchSVGPreview | true boolean |
Be sure to include this lib's styles, by importing the minified css.
1import 'filepond-plugin-fetch-svg-preview/dist/filepond-plugin-fetch-svg-preview.min.css';
Python 2.x
python -m SimpleHTTPServer 8000
Open localhost:8000 in your browser.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
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
27 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-03
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