This project allows you to generate a QR code from a URL input provided by the user. The QR code is saved as a PNG image, and the URL is also saved in a text file.
- Generate QR codes from user input URLs.
- Save the QR code image as a PNG file.
- Save the URL in a text file for future reference.
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the repository:
https://github.com/Harishsemwal/QR-Code-Quick-Response-Code-Generator.git
-
Navigate to the project directory:
cd QR-Code-Quick-Response-Code-Generator
-
Install the dependencies:
npm install
-
Run the script:
node index.js
-
The script will prompt you to enter a URL.
-
Once you provide the URL, the script will generate a QR code and save it as a PNG image (
image.png
). -
The URL will also be saved in a text file (
URL.txt
).