Skip to main content

Built and signed on GitHub Actions

SVG-based QRcode generator

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
100%
Published
2 weeks ago (1.2.2)

🔳 QR Code generator

JSR JSR Score NPM Coverage

✨ Features

  • Support out-of-the-box array, console and svg outputs
  • Customizable colors and error correction level (ECL)
  • Modern implementation using EcmaScript modules and TypeScript
  • No external dependencies (not even DOM's <canvas>)
  • Runtime agnostic (also works in the browser)

📜 License and credits

Copyright (c) Lecoq Simon <@lowlighter>. (MIT License)
https://github.com/lowlighter/libs/blob/main/LICENSE

________________________________________________________________________________

Copyright (c) Project Nayuki. (MIT License)
https://www.nayuki.io/page/qr-code-generator-library

This library is based on the awesome work of @nayiki.

Please take a look at their articles about QR Codes:

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @libs/qrcode

Import symbol

import * as mod from "@libs/qrcode";

Add Package

npx jsr add @libs/qrcode

Import symbol

import * as mod from "@libs/qrcode";

Add Package

yarn dlx jsr add @libs/qrcode

Import symbol

import * as mod from "@libs/qrcode";

Add Package

pnpm dlx jsr add @libs/qrcode

Import symbol

import * as mod from "@libs/qrcode";

Add Package

bunx jsr add @libs/qrcode

Import symbol

import * as mod from "@libs/qrcode";