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
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
45 Stars
93 Commits
4 Forks
110 Watchers
4 Branches
616 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
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
22 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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