# text-qrcodegen

> text-embeding

Latest version **1.0.6** (published 2023-10-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install text-qrcodegen
pnpm add text-qrcodegen
yarn add text-qrcodegen
bun add text-qrcodegen
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-10-09 |
| First published | 2023-10-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | rajesh |
| Maintainers | rajesh282 |
| Keywords | qr code, png, text qr code, qr |

## Links

- npm: https://www.npmjs.com/package/text-qrcodegen
- Repository: https://github.com/pothalarajesh282/text-embeding
- Homepage: https://github.com/pothalarajesh282/text-embeding#readme
- Issues: https://github.com/pothalarajesh282/text-embeding/issues
- npm.io page: https://npm.io/package/text-qrcodegen

## Dependencies (6)

- [fs](https://npm.io/package/fs.md) ^0.0.1-security
- [jimp](https://npm.io/package/jimp.md) ^0.22.10
- [jsqr](https://npm.io/package/jsqr.md) ^1.4.0
- [qrcode](https://npm.io/package/qrcode.md) ^1.5.3
- [qrcode-reader](https://npm.io/package/qrcode-reader.md) ^1.0.4
- [markdown-preview](https://npm.io/package/markdown-preview.md) ^1.0.1

## Recent versions

- 1.0.6 (latest) — 2023-10-09
- 1.0.5 — 2023-10-05
- 1.0.4 — 2023-10-05
- 1.0.3 — 2023-10-05
- 1.0.2 — 2023-10-05
- 1.0.1 — 2023-10-05
- 1.0.0 — 2023-10-05

## README

# text-qrcodegen

This package generates a QR code from a text input and saves it as an image file.

## Installation

```bash
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

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