Gathering detailed insights and metrics for react-qrcode
Gathering detailed insights and metrics for react-qrcode
Gathering detailed insights and metrics for react-qrcode
Gathering detailed insights and metrics for react-qrcode
npm install react-qrcode
Typescript
Module System
Node Version
NPM Version
71.4
Supply Chain
90.2
Quality
75.2
Maintenance
100
Vulnerability
99.3
License
@react-enhanced/hooks@0.5.0
Updated on Apr 13, 2023
@react-enhanced/translate@0.1.3
Updated on Apr 13, 2023
@react-enhanced/hooks@0.4.2
Updated on Apr 09, 2023
@react-enhanced/eslint-plugin@0.0.3
Updated on Oct 13, 2022
react-qrcode@0.3.6
Updated on Oct 13, 2022
@react-enhanced/utils@0.2.1
Updated on Oct 13, 2022
TypeScript (98.1%)
JavaScript (1.09%)
HTML (0.8%)
Total Downloads
268,991
Last Day
138
Last Week
1,588
Last Month
5,334
Last Year
86,336
MIT License
16 Stars
119 Commits
2 Forks
2 Watchers
2 Branches
2 Contributors
Updated on Apr 09, 2025
Minified
Minified + Gzipped
Latest Version
0.3.6
Package Id
react-qrcode@0.3.6
Unpacked Size
19.29 kB
Size
5.63 kB
File Count
20
NPM Version
8.15.0
Node Version
16.17.1
Cumulative downloads
Total Downloads
Last Day
100%
138
Compared to previous day
Last Week
5.8%
1,588
Compared to previous week
Last Month
13.2%
5,334
Compared to previous month
Last Year
-16.3%
86,336
Compared to previous year
🤳 A React component for QR code generation with qrcode
1// Component 2import ReactDOM from 'react-dom' 3import { QRCode } from 'react-qrcode' 4 5ReactDOM.render(<QRCode value="https://www.1stg.me" />) 6 7// hooks 8import { useQRCode } from 'react-qrcode' 9 10export const App = () => { 11 const [value, setValue] = useState('https://www.1stg.me') 12 const dataUrl = useQRCode(value) 13 return ( 14 <> 15 <div>dataUrl: {dataUrl}</div> 16 <img src={dataUrl} /> 17 <input onChange={e => setValue(e.currentTarget.value)} /> 18 </> 19 ) 20}
prop | type (range) | default value |
---|---|---|
version | number (1-40) | N/A |
errorCorrectionLevel | String ('low', 'medium', 'quartile', 'high', 'L', 'M', 'Q', 'H') | 'M' |
maskPattern | number (0-7) | N/A |
toSJISFunc | Function | N/A |
margin | number | 4 |
scale | number | 4 |
width | number | N/A |
color | { dark: string; light:string } | { dark: '#000000ff', light: '#ffffffff' } |
type | string ('image/png', 'image/jpeg', 'image/webp') | 'image/png' |
quality | number (0-1) | 0.92 |
value | string | Array<{ data: string; mode?: string }> | N/A |
1stG | RxTS | UnTS |
---|---|---|
1stG | RxTS | UnTS |
---|---|---|
Detailed changes for each release are documented in CHANGELOG.md.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/23 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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 Moreqrcode.react
React component to generate QR codes
qrcode-react
React component to generate QRCode with logo
react-native-qrcode-svg
A QR Code generator for React Native based on react-native-svg and javascript-qrcode.
react-qrcode-logo
React component to generate a QR Code customizable with logo and more properties