Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ushelp/EasyQRCodeJS

Repository files navigation

EasyQRCodeJS

EasyQRCodeJS is a powerful, cross-browser QR code generation library that uses JavaScript and runs on DOM-based client browsers. It can be downloaded directly in the browser. It supports Canvas, SVG, and Table drawing methods. It provides flexible configurations, including dot style, Logo, background image, color, title, and support for binary (HEX) data mode. It is also compatible with Angular, Vue.js, React, Next.js, and Svelte frameworks.

EasyQRCodeJS Shi Shi Yong JavaScript De Yi Ge Qiang Da De , Kua Liu Lan Qi De Er Wei Ma Sheng Cheng Ku . Yun Xing Zai Ji Yu DOM De Ke Hu Duan Liu Lan Qi ,Bing Neng Gou Zai Liu Lan Qi Zhong Jin Xing Xia Zai . Ta Zhi Chi Canvas, SVGHe TableHui Tu Fang Fa . Ti Gong Ling Huo De Pei Zhi ,Bao Gua Dian Yang Shi , Logo, Bei Jing Tu Pian , Cai Se ,Biao Ti He Er Jin Zhi (Shi Liu Jin Zhi )Shu Ju Mo Shi Zhi Chi . Ta Huan Neng Yu Angular, Vue.js, React, Next.jsHe SvelteKuang Jia Jian Rong .

Table of contents

  • EasyQRCodeJS
    • Table of contents
    • Choose what you need
    • Feature
    • Try It!
    • Demo preview
    • QR Code Structure
    • Installation
    • Load
    • Basic Usages
    • QRCode API
      • Object
      • Options
      • Method
    • Download the QRCode Image in the Browser
    • Angular Support
    • Vue.js Support
    • React Support
    • Next.js Support
    • Svelte Support
    • FQA
      • Q1. Tainted canvases may not be exported.
      • Q2. How to show the QRCode image only after rendering is done?
    • Browser Compatibility
    • License
    • EasyQRCodeJS-Premium
    • End

Choose what you need

Project Support
EasyQRCodeJS Running with DOM on CLIENT-SIDE . Browser(IE6+, Chrome, Firefox, Safari, Opera, Mobile Safari, Android, Windows Mobile, ETC.), Electron, NW.js, ETC.
EasyQRCodeJS-NodeJS Running without DOM on SERVER-SIDE. Save image to file(PNG/JPEG/SVG) or get data url text. NodeJS, Electron, NW.js, ETC.
EasyQRCode-React-Native A QRCode generator for React Native. Generate QRCode image or get base64 data url text.

Feature

  • English

    • Cross-browser support for QR code generation based on HTML5 Canvas, SVG and Table

    • Support unicode character set: Hello, konnichiha, konnichiha, Geia, Privet, nmste, swasdii, Privit, slm, Zdravei, sabaanydii, Pershendetje, Barew, Ni Hao

    • Download the QRCode image in the browser

    • Required Patterns that support dot style

    • Support for Quiet Zone settings

    • Support custom Position Pattern inner fill and outer border color

    • Support custom Alignment Pattern inner fill and outer border color

    • Support custom Timing Patterns vertical, horizontal color

    • Support Logo images (including transparent PNG images)

    • Support Background Image

    • Support for title, subtitle settings

    • Has no dependencies

    • Support AMD, CMD, CommonJS/Node.js JavaScript modules

    • Angular, Vue.js, React, Next.js, Svelte Support

    • Support binary(hex) data mode

    • Support TypeScript

  • Zhong Wen

    • Kua Liu Lan Qi ,Zhi Chi Ji Yu HTML5 Canvas, SVG He Table De Er Wei Ma Sheng Cheng

    • Zhi Chi Unicode Zi Fu Ji : Hello, konnichiha, konnichiha, Geia, Privet, nmste, swasdii, Privit, slm, Zdravei, sabaanydii, Pershendetje, Barew, Ni Hao

    • Zai Liu Lan Qi Zhong Xia Zai

    • Zhi Chi Dian Xing Feng Ge De Required Patterns

    • Zhi Chi Quiet Zone She Zhi

    • Zhi Chi Zi Ding Yi Position Pattern Nei Tian Chong He Wai Bian Kuang Yan Se

    • Zhi Chi Zi Ding Yi Alignment Pattern Nei Tian Chong He Wai Bian Kuang Yan Se

    • Zhi Chi Zi Ding Yi Timing Patterns Chui Zhi ,Shui Ping Yan Se

    • Zhi Chi Logo Tu Pian (Bao Gua Bei Jing Tou Ming De PNG Tu Pian )

    • Zhi Chi Background Image Bei Jing Tu Pian

    • Zhi Chi Biao Ti ,Fu Biao Ti She Zhi

    • Bu Yi Lai Ren He Di San Fang

    • Zhi Chi AMD,CMD, CommonJS/Node.js JavaScript Mo Kuai Jia Zai Gui Fan

    • Angular, Vue.js, React, NEXT.js, Svelte Zhi Chi

    • Er Jin Zhi Shu Ju Mo Shi Zhi Chi

    • TypeScript Zhi Chi

Try It!

Try It!

Demo preview

QR Code Structure

Installation

Load

  • Script load

    <script src="/easy.qrcode.min.js" type="text/javascript" charset="utf-8">script>
  • AMD load

    require.config({
    paths: {
    QRCode: "/easy.qrcode.min"
    }
    });

    require(["QRCode"], function(QRCode){

    // Your code...

    });
  • Node.js load(For Example, Use in Electron)

    /easyqrcodejs'); // Your code..."> const QRCode = require('/easyqrcodejs');

    // Your code...

Basic Usages

<div id="qrcode">div>

<script type="text/javascript">
// Options
var options = {
text: "https://github.com/ushelp/EasyQRCodeJS"
};

// Create QRCode Object
new QRCode(document.getElementById("qrcode"), options);
script>

QRCode API

Object

var qrcode = new QRCode(DOM_object, options_object);

Options

var options_object = {
// ====== Basic
text: "https://github.com/ushelp/EasyQRCodeJS",
width: 256,
height: 256,
colorDark : "#000000",
colorLight : "#ffffff",
correctLevel : QRCode.CorrectLevel.H, // L, M, Q, H

// ====== dotScale
/*
dotScale: 1, // For body block, must be greater than 0, less than or equal to 1. default is 1

dotScaleTiming: 1, // Dafault for timing block , must be greater than 0, less than or equal to 1. default is 1
dotScaleTiming_H: undefined, // For horizontal timing block, must be greater than 0, less than or equal to 1. default is 1
dotScaleTiming_V: undefined, // For vertical timing block, must be greater than 0, less than or equal to 1. default is 1

dotScaleA: 1, // Dafault for alignment block, must be greater than 0, less than or equal to 1. default is 1
dotScaleAO: undefined, // For alignment outer block, must be greater than 0, less than or equal to 1. default is 1
dotScaleAI: undefined, // For alignment inner block, must be greater than 0, less than or equal to 1. default is 1
*/

// ====== Quiet Zone
/*
quietZone: 0,
quietZoneColor: "rgba(0,0,0,0)",
*/

// ====== Logo
/*
logo: "../demo/logo.png", // Relative address, relative to `easy.qrcode.min.js`
logo: "http://127.0.0.1:8020/easy-qrcodejs/demo/logo.png",
logoWidth: 80, // fixed logo width. default is `width/3.5`
logoHeight: 80, // fixed logo height. default is `heigth/3.5`
logoMaxWidth: undefined, // Maximum logo width. if set will ignore `logoWidth` value
logoMaxHeight: undefined, // Maximum logo height. if set will ignore `logoHeight` value
logoBackgroundColor: '#fffff', // Logo backgroud color, Invalid when `logBgTransparent` is true; default is '#ffffff'
logoBackgroundTransparent: false, // Whether use transparent image, default is false
*/

// ====== Backgroud Image
/*
backgroundImage: '', // Background Image
backgroundImageAlpha: 1, // Background image transparency, value between 0 and 1. default is 1.
autoColor: false, // Automatic color adjustment(for data block)
autoColorDark: "rgba(0, 0, 0, .6)", // Automatic color: dark CSS color
autoColorLight: "rgba(255, 255, 255, .7)", // Automatic color: light CSS color
*/

// ====== Colorful
// === Posotion Pattern(Eye) Color
/*
PO: '#e1622f', // Global Posotion Outer color. if not set, the defaut is `colorDark`
PI: '#aa5b71', // Global Posotion Inner color. if not set, the defaut is `colorDark`
PO_TL:'', // Posotion Outer color - Top Left
PI_TL:'', // Posotion Inner color - Top Left
PO_TR:'', // Posotion Outer color - Top Right
PI_TR:'', // Posotion Inner color - Top Right
PO_BL:'', // Posotion Outer color - Bottom Left
PI_BL:'', // Posotion Inner color - Bottom Left
*/
// === Alignment Color
/*
AO: '', // Alignment Outer. if not set, the defaut is `colorDark`
AI: '', // Alignment Inner. if not set, the defaut is `colorDark`
*/
// === Timing Pattern Color
/*
timing: '#e1622f', // Global Timing color. if not set, the defaut is `colorDark`
timing_H: '', // Horizontal timing color
timing_V: '', // Vertical timing color
*/

// ====== Title
/*
title: 'QR Title', // content
titleFont: "normal normal bold 18px Arial", //font. default is "bold 16px Arial"
titleColor: "#004284", // color. default is "#000"
titleBackgroundColor: "#fff", // background color. default is "#fff"
titleHeight: 70, // height, including subTitle. default is 0
titleTop: 25, // draws y coordinates. default is 30
*/

// ====== SubTitle
/*
subTitle: 'QR subTitle', // content
subTitleFont: "normal normal normal 14px Arial", // font. default is "14px Arial"
subTitleColor: "#004284", // color. default is "4F4F4F"
subTitleTop: 40, // draws y coordinates. default is 0
*/

// ===== Event Handler
/*
onRenderingStart: undefined,
onRenderingEnd: undefined,
*/

// ===== Versions
/*
version: 0, // The symbol versions of QR Code range from Version 1 to Version 40. default 0 means automatically choose the closest version based on the text length.
*/

// ===== Binary(hex) data mode
/*
binary: false, // Whether it is binary mode, default is text mode.
*/

// ===== Tooltip
/*
tooltip: false, // Whether set the QRCode Text as the title attribute value of the QRCode div
*/

// ==== CORS
/*
crossOrigin: null, // String which specifies the CORS setting to use when retrieving the image. null means that the crossOrigin attribute is not set.
*/

// ===== Drawing method
/*
drawer: 'canvas', // Which drawing method to use. 'canvas', 'svg'. default is 'canvas'
*/

// ===== UTF-8 without BOM
/*
utf8WithoutBOM: true
*/

}
Option Required Type Defaults Description Compatibility
Basic options --- --- --- --- ---
text Y String '' Text
width N Number 256 Width
height N Number 256 Height
colorDark N String #000000 Dark CSS color, rgba(0,0,0,0)
colorLight N String #ffffff Light CSS color, rgba(255,255,255,0)
correctLevel N Enum QRCode.CorrectLevel.H QRCode.CorrectLevel.H
QRCode.CorrectLevel.Q
QRCode.CorrectLevel.M
QRCode.CorrectLevel.L
Dot style --- --- --- --- ---
dotScale N Number 1.0 Dot style scale. Ranges: 0-1.0
dotScaleTiming N Number 1.0 Dot style scale for timing. Ranges: 0-1.0
dotScaleTiming_V N Number undefined Dot style scale for horizontal timing. Ranges: 0-1.0
dotScaleTiming_H N Number undefined Dot style scale for vertical timing. Ranges: 0-1.0
dotScaleA N Number 1.0 Dot style scale for alignment. Ranges: 0-1.0
dotScaleAO N Number undefined Dot style scale for alignment outer. Ranges: 0-1.0
dotScaleAI N Number undefined Dot style scale for alignment inner. Ranges: 0-1.0
Quiet Zone --- --- --- --- ---
quietZoneColor N String rgba(0,0,0,0) Background CSS color to Quiet Zone
Quiet Zone --- --- --- --- ---
quietZone N Number 0 Quiet Zone size
quietZoneColor N String rgba(0,0,0,0) Background CSS color to Quiet Zone
Logo options --- --- --- --- ---
logo N String undefined Logo Image Path or Base64 encoded image. If use relative address, relative to easy.qrcode.min.js
logoWidth N Number width/3.5 Fixed logo width.
logoHeight N Number height/3.5 fixed logo height.
logoMaxWidth N Number undefined Maximum logo width. if set will ignore logoWidth value.
logoMaxHeight N Number undefined Maximum logo height. if set will ignore logoHeight value.
logoBackgroundTransparent N Boolean false Whether the background transparent image(PNG) shows transparency. When true, logoBackgroundColor is invalid
logoBackgroundColor N String #ffffff Set Background CSS Color when image background transparent. Valid when logoBackgroundTransparent is false
Backgroud Image options --- --- --- --- ---
backgroundImage N String undefined Background Image Path or Base64 encoded Image. If use relative address, relative to easy.qrcode.min.js
backgroundImageAlpha N Number 1.0 Background image transparency. Ranges: 0-1.0
autoColor N Boolean false Automatic color adjustment(for data block)
autoColorDark N String rgba(0, 0, 0, .6) Automatic color: dark CSS color
autoColorLight N String rgba(255, 255, 255, .7) Automatic color: light CSS color
Posotion Pattern Color options --- --- --- --- ---
PO N String undefined Global Posotion Outer CSS color. if not set, the defaut is colorDark
PI N String undefined Global Posotion Inner CSS color. if not set, the defaut is colorDark
PO_TL N String undefined Posotion Outer CSS color - Top Left
PI_TL N String undefined Posotion Inner CSS color - Top Left
PO_TR N String undefined Posotion Outer CSS color - Top Right
PI_TR N String undefined Posotion Inner CSS color - Top Right
PO_BL N String undefined Posotion Outer CSS color - Bottom Left
PI_BL N String undefined Posotion Inner CSS color - Bottom Left
Alignment Color options --- --- --- --- ---
AO N String undefined Alignment Outer CSS color. if not set, the defaut is colorDark
AI N String undefined Alignment Inner CSS color. if not set, the defaut is colorDark
Timing Pattern Color options --- --- --- --- ---
timing N String undefined Global Timing CSS color. if not set, the defaut is colorDark
timing_H N String undefined Horizontal timing CSS color
timing_V N String undefined Vertical timing CSS color
Title options --- --- --- --- ---
title N String ''
titleFont N String normal normal bold 16px Arial CSS Font
titleColor N String #000000 CSS color
titleBackgroundColor N String #ffffff CSS color
titleHeight N Number 0 Title Height, Include subTitle
titleTop N Number 30 draws y coordinates.
SubTitle options --- --- --- --- ---
subTitle N String ''
subTitleFont N String normal normal normal 14px Arial CSS Font
subTitleColor N String #4F4F4F CSS color
subTitleTop N Number 0 draws y coordinates. default is 0
Event Handler options --- --- --- --- ---
onRenderingStart(qrCodeOptions) N Function undefined Callback function when the rendering start. can use to hide loading state or handling.
onRenderingEnd(qrCodeOptions, dataURL) N Function undefined Callback function when the rendering ends. dataURL parameter is the base64 data(canvas drawer) or SVG serialized text(svg drawer) of QRCode image(if not support canvas return null).
Version options --- --- --- --- ---
version N Number 0 The symbol versions of QR Code range from Version 1 to Version 40. default 0 means automatically choose the closest version based on the text length. Information capacity and versions of QR Codes NOTE: If you set a value less than the minimum version available for text, the minimum version is automatically used.
Tooltip options --- --- --- --- ---
tooltip N Boolean false Whether set the QRCode Text as the title attribute value of the QRCode div.
Binary(hex) data model options --- --- --- --- ---
binary N Boolean false Whether it is binary mode, default is text mode.
CORS options --- --- --- --- ---
crossOrigin N String null String which specifies the CORS setting to use when retrieving the image. null means that the crossOrigin attribute is not set. 'anonymous', null.
UTF-8 options --- --- --- --- ---
utf8WithoutBOM N Boolean true Use UTF-8 without BOM. set to false value will use BOM in UFT-8.
Drawing method options --- --- --- --- ---
drawer N String canvas Which drawing method to use. canvas, svg. Chrome, FF, IE9+.

Method

  • clear()

    qrcode.clear(); // remove the code.
  • makeCode(text)

    qrcode.makeCode("https://github.com/ushelp/EasyQRCodeJS"); // make another code text.
  • resize(width, height)

    qrcode.resize(480, 480); // Resize the image
  • download(fileName)

    qrcode.download("easyQRCode"); // Download the image or svg file, the filename does not need to include extension, '.png' or '.svg' suffix will be added automatically

Download the QRCode Image in the Browser

For a long time, I have not been included to add a download function to our features, because due to browser environment restrictions, it cannot guarantee to truly fully output the image seen by the user.

On the other hand, I see many user demands related to downloading, and there are also different implementation methods, so I decide to provide a friendly and as fully-featured download implementation as possiable.

However, saving Canvas or SVG images on the client side is subject to many restrictions in the browser environments. For example, if your EasyQRCode image used an external image and there is a cross domain issue, you may be able to see the exernal image in the browser, but actully these images may not be able to be read normally and saved to your download file.

Therefore, if your requirement is to save the QRCode as an image, you may consider using EasyQRCodeJS-NodeJS on the server side to gain more complete control.

">
<div id="qrcode">div>

<button id="qrcode_download" onclick="downloadQRcode()" style="display:none">downloadbutton>


<script type="text/javascript">
var config = {
text: "www.easyproject.cn/donation",
//...
onRenderingEnd:function(options, dataURL){
// Display your download button after the EasyQRCode is rendered.
document.getElementById("qrcode_download").style.display='block';
}
}
// Initiate EasyQRCode
var qrcode = new QRCode(document.getElementById("qrcode"), config);

function downloadQRcode(){
// Download the png image or svg file
// The '.png' or '.svg' suffix will be added to filename automatically
var fileName = 'EasyQRCode-file'
qrcode.download(fileName);
}
script>

Angular Support

  1. Add dependency

    # install with `npm`
    npm install --save easyqrcodejs

    # Alternatively you may use `yarn`:
    yarn add easyqrcodejs
  2. [NAME].component.html


    <div #qrcode>div>
  3. Activate esModuleInterop in your tsconfig.json

    "esModuleInterop": true,
  4. [NAME].component.ts

    import { Component, AfterViewInit, ElementRef, ViewChild } from '@angular/core';
    import QRCode from 'easyqrcodejs';

    @Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
    })
    export class AppComponent implements AfterViewInit{

    // Your DOM Element
    @ViewChild('qrcode', {static: false}) qrcode: ElementRef;

    ngAfterViewInit(){

    // Options
    var options = {
    text: "https://github.com/ushelp/EasyQRCodeJS"
    }

    // Create new QRCode Object
    new QRCode(this.qrcode.nativeElement, options);

    }

    btnClick(){
    // ....
    }

    }

Vue.js Support

  1. Add dependency

    # install with `npm`
    npm install --save easyqrcodejs

    # Alternatively you may use `yarn`:
    yarn add easyqrcodejs
  2. Template


    <div ref="qrcode">div>
  3. Script

    "><script>
    import * as QRCode from 'easyqrcodejs'

    export default {

    mounted(){
    // Options
    var options = {
    text: "https://github.com/ushelp/EasyQRCodeJS"
    }

    // Create new QRCode Object
    new QRCode(this.$refs.qrcode, options);
    },
    methods:{
    btnClick(){

    }
    }
    }
    script>

React Support

  1. Add dependency

    # install with `npm`
    npm install --save easyqrcodejs

    # Alternatively you may use `yarn`:
    yarn add easyqrcodejs
  2. Script

    • JavaScript

      ); } } export default App;">import React from 'react';
      import './App.css';
      import * as QRCode from 'easyqrcodejs';

      class App extends React.Component {

      constructor(props) {
      super(props);
      this.qrcode = React.createRef();
      }

      componentDidMount() {
      // Options
      var options = {
      text: "https://github.com/ushelp/EasyQRCodeJS"
      }
      // Create new QRCode Object
      new QRCode( this.qrcode.current, options);
      }
      render() {
      return (
      <div className = "App">
      <div ref={this.qrcode}>div>
      div>
      );
      }
      }

      export default App;
  • TypeScript

    import React, { useEffect } from "react";
    import QRCode from "easyqrcodejs";

    function App() {
    const code = React.createRef<HTMLDivElement>();

    useEffect(() => {
    new QRCode(code.current, { text: "https://github.com/ushelp/EasyQRCodeJS" });
    }, [code]);

    return (
    <div className="App">
    <header className="App-header">

    <div ref={code}>div>
    header>
    div>
    );
    }

    export default App;
  • Next.js Support

    1. Add dependency

      Add easy.qrcode.min.js to your static files folder called static(<Next.js 9.1)/public(>=Next.js 9.1) in the root directory.

    2. Script

      This is About page

      {/* DOM */}
      {/* Gerenate QRCode on click */} {/* Include EasyQRCodeJS library*/}

      This is About page

      ); } } export default About;">import Layout from '../components/Layout';
      // Import Head
      import Head from "next/head";

      class About extends React.Component {
      constructor(props) {
      super(props);
      // QRCode DOM
      this.qrcodeDOM = React.createRef();
      // QRCode
      this.qrcode=null;
      }

      //QRCode generator
      generate(color){
      if(this.qrcode){
      this.qrcode.clear();
      }
      var options = {
      text: "https://github.com/ushelp/EasyQRCodeJS",
      colorDark : color?color:'#000000'
      };
      this.qrcode=new QRCode(this.qrcodeDOM.current, options);
      }

      // Gerenate QRCode on mount
      componentDidMount() {
      this.generate()
      }

      render() {
      return (
      <Layout>
      <p>This is About pagep>
      {/* DOM */}
      <div ref={this.qrcodeDOM}>div>
      {/* Gerenate QRCode on click */}
      <button onClick={this.generate.bind(this, '#ff0000')}>QRCode Generatebutton>
      {/* Include EasyQRCodeJS library*/}
      <Head>
      <script type="text/javascript" src="/public/easy.qrcode.min.js">script>
      Head>
      <p>This is About pagep>
      Layout>
      );
      }
      }

      export default About;

    Svelte Support

    1. Add dependency

      # install with `npm`
      npm install --save-dev easyqrcodejs

      # Alternatively you may use `yarn`:
      yarn add easyqrcodejs --dev
    2. Component template

      QR.svelte:

      { const options = { text: codeValue, // ... your other options width: 100, height: 100, quietZone: 10, }; new QRCode(node, options); });
      "><script>
      import { onMount } from 'svelte';
      import QRCode from 'easyqrcodejs'
      // import * as QRCode from 'easyqrcodejs';

      export let codeValue;
      let node;

      onMount(() => {
      const options = {
      text: codeValue,
      // ... your other options
      width: 100,
      height: 100,
      quietZone: 10,
      };
      new QRCode(node, options);
      });
      script>

      <div bind:this={node}>div>

      <style>
      div {
      /* make QR-wrapper squared */
      width: 100%;
      position: relative;
      padding: 50%;
      z-index: 1;
      }
      div :global(canvas) {
      /* fit QR to wrapper */
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      }
      style>
    3. Layout

      index.svelte:

      "><script>
      import QR from './QR.svelte';
      script>

      <div class="qr-container">
      <QR text="Your awesome text here..." />
      div>

      <style>
      .qr-container {
      /* your styles for container here */
      }
      style>

    FQA

    Q1. Tainted canvases may not be exported.

    When use canvas drawer, Canvas toDataURL function does not allow load cross domain image. there are three options to slove this problem:

    • Option 1:

      Configure the crossOrigin attribute(crossorigin) for the image. Make sure that CORS is configured on the Server side.

      {
      // ...

      // String which specifies the CORS setting to use when retrieving the image. null means that the crossOrigin attribute is not set. 'anonymous', null.
      crossOrigin : 'anonymous',

      // ...
      }
    • Option 2:

      Put your image under the same domain with your page.

    • Option 3:

      Use base64 image.

    Q2. How to show the QRCode image only after rendering is done?

    onRenderingStart: function(qrCodeOptions) {
    qrCodeOptions._element.style.display = 'none';
    },
    onRenderingEnd: function(qrCodeOptions) {
    qrCodeOptions._element.style.display = 'block';
    },

    Browser Compatibility

    IE6+, Chrome, Firefox, Safari, Opera, Mobile Safari, Android, Windows Mobile, ETC.

    License

    MIT License

    EasyQRCodeJS-Premium

    Let you draw freely!

    EasyQRCodeJS-Premium is a more powerful and comprehensive enterprise version. You can use Canvas to customize any element, such as eye frame shape, eyeball shape, QR code block shape, and more. Also supports excavation (to prevent the QRcode overlap with the logo), random block mode.

    If you need more functions, we can provide you with customized development of API libraries or products. please contact me to buy the business enterprise edition.

    EasyQRCodeJS-Premium Shi Gong Neng Geng Jia Qiang Da He Quan Mian De Shang Ye /Qi Ye Ban Ben . Rang Nin Ke Yi Zai QRCode Zhong Tong Guo Canvas Zi Ding Yi Ren He Xi Huan De Yuan Su ,Li Ru Eye frame Xing Zhuang , Eye ball Xing Zhuang , QR Body block Xing Zhuang Deng Deng . Huan Zhi Chi Logo Wa Qu (excavation,Fang Zhi Er Wei Ma Yu Logo Zhong Die )He Random bolock mode.

    Ru Guo Nin Xu Yao Geng Duo Gong Neng ,Wo Men Ke Yi Wei Nin Ti Gong API Ku Huo Chan Pin De Ding Zhi Kai Fa . Qing Lian Xi Wo Gou Mai Shang Ye /Qi Ye Ban Ben .

    End

    Email:inthinkcolor@gmail.com

    http://www.easyproject.cn

    Donation/Juan Zhu :

    Zhi Fu Bao /Wei Xin /QQ/Yun Shan Fu /PayPal

    Wo Men Xiang Xin ,Mei Ge Ren De Dian Di Gong Xian ,Du Jiang Shi Tui Dong Chan Sheng Geng Duo , Geng Hao Mian Fei Kai Yuan Chan Pin De Yi Da Bu .

    Gan Xie Kang Kai Juan Zhu ,Yi Zhi Chi Fu Wu Qi Yun Xing He Gu Li Geng Duo She Qu Cheng Yuan .

    We believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.

    Thank you donation to support the server running and encourage more community members.

    About

    EasyQRCodeJS is a flexible QR code generator using JavaScript, supporting various drawing methods (Canvas, SVG, Table) and customization options. It's compatible with major frameworks and can be directly downloaded in the browser.

    Topics

    Resources

    Readme

    License

    MIT license

    Stars

    Watchers

    Forks

    Sponsor this project

    Packages

    Contributors