Gathering detailed insights and metrics for @mapbox/svg-react-transformer-loader
Gathering detailed insights and metrics for @mapbox/svg-react-transformer-loader
Gathering detailed insights and metrics for @mapbox/svg-react-transformer-loader
Gathering detailed insights and metrics for @mapbox/svg-react-transformer-loader
Transform SVG into JSX or React component modules
npm install @mapbox/svg-react-transformer-loader
Typescript
Module System
Min. Node Version
Node Version
NPM Version
50.5
Supply Chain
56.1
Quality
76.4
Maintenance
25
Vulnerability
93.9
License
JavaScript (100%)
Total Downloads
137,528
Last Day
5
Last Week
39
Last Month
183
Last Year
1,566
45 Stars
93 Commits
4 Forks
111 Watchers
4 Branches
596 Contributors
Updated on Oct 13, 2024
Latest Version
2.1.0
Package Id
@mapbox/svg-react-transformer-loader@2.1.0
Unpacked Size
10.37 kB
Size
3.81 kB
File Count
9
NPM Version
9.8.1
Node Version
18.18.2
Published on
Nov 09, 2023
Cumulative downloads
Total Downloads
Last Day
-50%
5
Compared to previous day
Last Week
-27.8%
39
Compared to previous week
Last Month
7.6%
183
Compared to previous month
Last Year
-51.4%
1,566
Compared to previous year
3
A Webpack loader to transform SVG files into React component modules.
Runs SVG files through the toComponentModule
function of svg-react-transformer.
Please read the svg-react-transformer documentation for more details and code examples.
npm install @mapbox/svg-react-transformer-loader
Follow the instructions for using Webpack loaders.
You can pass all of the options from svg-react-transformer's toComponentModule
function (e.g. SVGO plugins, a component template).
By default, the output of this loader is precompiled with Babel.
You can bypass this step (and use your own compilation) by passing the additional option precompile: false
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 6/19 approved changesets -- score normalized to 3
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
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