1.0.2 • Published 7 months ago

qr-code-utils-1 v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

QR-CODE-UTILS qr code utils is an qr code reader and generator

Installation

npm install qr-code-utils

Usage

Qr code Generator

const { readQRCode,  generateQRCode } = require('qr-code-utils-1');

generateQRCode('https://example.com', 'qrcode.png');//replate the https://example.com with  the data you want to place in the qr
//and replace the 'qrcode.png' the desired path you want

Qr Code Reader

const { readQRCode,  generateQRCode } = require('qr-code-utils-1');

readQRCode(`replace with the path|URL of the qr code`)
  .then((result) => {
    console.log('QR Code Data:', result);
  })
  .catch((error) => {
    console.error('Error:', error);
  });
1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago