QR Code Generator is a Node.js application that allows users to generate QR codes from URLs. It uses the inquirer npm package for user input, qr-image npm package to create QR code images, and native fs module for file handling.
Make sure you have Node.js installed on your system. If not, you can download it from nodejs.org.
- Clone the repository to your local machine.
- Install dependencies using
npm install
. - Run the application using
node index.js
. - Follow the prompts to enter the URL you want to generate a QR code for.
After entering the URL, the application will generate a QR code image and save it as qr_img.png
. The entered URL will also be saved in a text file called URL.txt
.
- inquirer: For interactive command-line prompts.
- qr-image: For generating QR code images.
- fs: Native Node.js module for file system operations.
Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.