# qrcode-with-logos

> ![](https://img.shields.io/github/stars/zxpsuper/qrcode-with-logos?style=flat&logo=github) ![](https://img.shields.io/github/forks/zxpsuper/qrcode-with-logos?style=flat&logo=github) ![](https://img.shields.io/npm/v/qrcode-with-logos.svg?style=flat&logo=np

Latest version **1.2.1** (published 2026-06-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install qrcode-with-logos
pnpm add qrcode-with-logos
yarn add qrcode-with-logos
bun add qrcode-with-logos
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2026-06-10 |
| First published | 2019-07-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 1 |
| Unpacked size | 274.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 226 |
| Author | suporka |
| Maintainers | suporka |
| Keywords | qr-code, logo, image, qrCode, size |

## Links

- npm: https://www.npmjs.com/package/qrcode-with-logos
- Repository: https://github.com/zxpsuper/QRcode-with-logo
- Homepage: https://github.com/zxpsuper/QRcode-with-logo#readme
- Issues: https://github.com/zxpsuper/QRcode-with-logo/issues
- npm.io page: https://npm.io/package/qrcode-with-logos

## Dependencies (1)

- [qrcode](https://npm.io/package/qrcode.md) ^1.4.4

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2026-06-10
- 1.2.0 — 2026-05-30
- 1.1.1 — 2024-07-23
- 1.1.0 — 2024-06-27
- 1.0.6 — 2024-06-06
- 1.0.5 — 2023-11-11
- 1.0.3 — 2020-11-26
- 1.0.2 — 2020-03-04
- 1.0.1 — 2019-07-01
- 1.0.0 — 2019-07-01

## README

# qrcode-with-logos

![](https://img.shields.io/github/stars/zxpsuper/qrcode-with-logos?style=flat&logo=github) ![](https://img.shields.io/github/forks/zxpsuper/qrcode-with-logos?style=flat&logo=github) ![](https://img.shields.io/npm/v/qrcode-with-logos.svg?style=flat&logo=npm) ![](https://img.shields.io/npm/dt/qrcode-with-logos.svg?style=flat) ![](https://img.shields.io/npm/dm/qrcode-with-logos) ![](https://img.shields.io/npm/l/qrcode.svg?style=flat)

<img src="./images/qr-code.png" width="200"><img src="./images/qr-code2.png" width="200"><img src="./images/qr-code3.png" width="200">

## Introduction

Qrcode-with-logos is a library for generating QR codes with a logo and styling in your object.

It depend on `qrcode` dependence and be more powerful than `qrcode`.

It can create a canvas or a image for the QRcode and even you can use the method to download the file that you want.

## Usage

- Install the module

```
npm install qrcode-with-logos --save
```

## Documentation

Visit [https://zxpsuper.github.io/qrcode-with-logos](https://zxpsuper.github.io/qrcode-with-logos/)!

## Example

```html
<img id="image" alt="" />
```

```js
import QrCodeWithLogo from 'qrcode-with-logos'
let qrcode = new QrCodeWithLogo({
  // canvas: document.getElementById("canvas"),
  content: 'https://github.com/zxpsuper',
  width: 380,
  //   download: true,
  image: document.getElementById('image'),
  logo: {
    src: 'https://avatars1.githubusercontent.com/u/28730619?s=460&v=4'
  }
})

qrcode.downloadImage('qrcode.png')
```

## Dependencies

| Project  | Status                             | Description                   |
| -------- | ---------------------------------- | ----------------------------- |
| [qrcode] | [![qrcode-status]][qrcode-package] | QR code/2d barcode generator. |

[qrcode]: https://github.com/soldair/node-qrcode
[qrcode-status]: https://img.shields.io/npm/v/qrcode.svg
[qrcode-package]: https://npmjs.com/package/qrcode

## Questions or advise

If you have some question or advise, you can send me a E-mail(zxpscau@163.com) or open an [issue](https://github.com/zxpsuper/qrcode-with-logos/issues/new).

---
_Source: https://npm.io/package/qrcode-with-logos · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
