This project is a simple Node.js application that prompts the user to input a web address, generates a QR code for that address, and saves it as a PNG image. Additionally, the web address is saved to a text file.
- Prompts the user to input a web address.
- Generates a QR code for the inputted address.
- Saves the QR code as a PNG file.
- Stores the web address in a text file (
example.txt).
- Node.js
- The following npm packages:
inquirer: for user input prompts.qr-image: to generate the QR code.fs(built-in module): for file handling.
To use this project, follow these instructions to set up the environment and run the script.
git clone https://github.com/yourusername/yourrepository.git
cd yourrepository
### 2. intial dependencies :
npm install inquirer qr-image