Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Feb 28, 2024 via pnpm

qrcode 1.2.0

QRCode / 2d Barcode api with both server side and client side support using canvas
Package summary
Share
5
issues
1
high severity
license
1
2
moderate severity
vulnerability
2
2
low severity
license
2
6
licenses
58
MIT
16
ISC
2
Apache-2.0
3
other licenses
BSD-2-Clause
1
CC-BY-3.0
1
CC0-1.0
1
Package created
21 Dec 2010
Version published
28 Dec 2017
Maintainers
2
Total deps
79
Direct deps
5
License
MIT

Issues

5

1 high severity issue

high
Recommendation: Read and validate the license terms
via: yargs@8.0.2
Collapse
Expand

2 moderate severity issues

moderate
Recommendation: Upgrade to version 4.0.0 or later
via: yargs@8.0.2
Recommendation: Upgrade to version 13.1.2 or later
via: yargs@8.0.2
Collapse
Expand

2 low severity issues

low
Recommendation: Read and validate the license terms
via: yargs@8.0.2
Recommendation: Read and validate the license terms
via: yargs@8.0.2
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
58 Packages, Including:
ansi-regex@2.1.1
ansi-regex@3.0.1
camelcase@4.1.0
can-promise@0.0.1
code-point-at@1.1.0
cross-spawn@5.1.0
decamelize@1.2.0
dijkstrajs@1.0.3
error-ex@1.3.2
execa@0.7.0
find-up@2.1.0
function-bind@1.1.2
get-stream@3.0.0
hasown@2.0.1
invert-kv@1.0.0
is-arrayish@0.2.1
is-core-module@2.13.1
is-fullwidth-code-point@1.0.0
is-fullwidth-code-point@2.0.0
is-stream@1.1.0
isarray@2.0.5
lcid@1.0.0
load-json-file@2.0.0
locate-path@2.0.0
mem@1.1.0
mimic-fn@1.2.0
npm-run-path@2.0.2
number-is-nan@1.0.1
os-locale@2.1.0
p-finally@1.0.0
p-limit@1.3.0
p-locate@2.0.0
p-try@1.0.0
parse-json@2.2.0
path-exists@3.0.0
path-key@2.0.1
path-parse@1.0.7
path-type@2.0.0
pify@2.3.0
pngjs@3.4.0
qrcode@1.2.0
read-pkg-up@2.0.0
read-pkg@2.0.0
require-directory@2.1.1
resolve@1.22.8
shebang-command@1.2.0
shebang-regex@1.0.0
spdx-expression-parse@3.0.1
string-width@1.0.2
string-width@2.1.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
cliui@3.2.0
get-caller-file@1.0.3
graceful-fs@4.2.11
hosted-git-info@2.8.9
isexe@2.0.0
lru-cache@4.1.5
pseudomap@1.0.2
require-main-filename@1.0.1
semver@5.7.2
set-blocking@2.0.0
signal-exit@3.0.7
which-module@2.0.1
which@1.3.1
y18n@3.2.2
yallist@2.1.2
yargs-parser@7.0.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
2 Packages, Including:
spdx-correct@3.2.0
validate-npm-package-license@3.0.4

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
normalize-package-data@2.5.0

Creative Commons Attribution 3.0 Unported

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
spdx-exceptions@2.5.0

Creative Commons Zero v1.0 Universal

Public Domain
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
spdx-license-ids@3.0.17
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of qrcode 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
can-promise0.0.11.42 kBMIT
prod
dijkstrajs1.0.33.46 kBMIT
prod
isarray2.0.51.82 kBMIT
prod
pngjs3.4.0155.8 kBMIT
prod
yargs8.0.254.33 kBMIT
prod
1
2
2

Visualizations

Frequently Asked Questions

What does qrcode do?

QRCode is a powerful npm package that allows you to generate QR codes - 2D barcodes - that can be rendered on both the client and server sides using Node.js. It covers a plethora of options including support for numeric, alphanumeric, Kanji and Byte modes, mixed modes, and it even handles multibyte characters such as emojis. It supports error correction levels and QR code capacity with different symbol versions for optimal data compression and smallest QR code size.

How do you use qrcode?

To use QRCode in your JavaScript projects, you will first need to install it using npm with the following command:

npm install --save qrcode

After installation, you can start using it in your code. Here's an example of how you can generate a QR code using with QRCode:

var QRCode = require('qrcode')

QRCode.toDataURL('Your text here', function (err, url) {
  console.log(url)
})

If you want to work with Promises or async/await, QRCode supports them too. Here's how you can use it with async/await:

import QRCode from 'qrcode'

const generateQR = async text => {
  try {
    console.log(await QRCode.toDataURL(text))
  } catch (err) {
    console.error(err)
  }
}

generateQR('Your text here');

Where are the qrcode docs?

The comprehensive documentation for QRCode is included in the README file in the GitHub source code repository. The documentation covers several important topics including installation instructions, usage details, error correction levels, capacity of QR codes and encoding modes among others.