1.0.6 • Published 7 months ago

text-qrcodegen v1.0.6

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

text-qrcodegen

This package generates a QR code from a text input and saves it as an image file.

Installation

npm install text-qrcodegen


## Usage

To use the package, simply require it into your code and call the `generateQRCode()` function. The function takes two parameters: the text to be converted into a QR code and the file name of the output image file.

For example, the following code will generate a QR code from the text "npm package" and save it as the file `test.png`:

bash
const {generateQRCode} = require('text-qrcodegen');

generateQRCode("npm package", "test.png");



### How to Use generateQRCode Function 
required  const {generateQRCode} = require('text-qrcodegen');
send 
==> **First Parmeter** what Text Convertyed into Qr Code 
==> **second Parmeter** Give Name Your Qrcode File Name. Defult Value qrcode.png

generateQRCode("npm package", "test.png");

## how to Use convertQRCodeToText Function 

required const {convertQRCodeToText } = require('text-qrcodegen');
Give Parameter QRcode File Path 
Ex : convertQRCodeToText('./test.png');
in console Qr code Text and return also Qrcode Text
1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago