Skip to content

anuragjain-git/qr-code-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL to QR Code Generator

This project uses Node.js to accomplish three tasks:

  1. Get user input using the inquirer npm package.
  2. Convert the user-entered URL into a QR code image using the qr-image npm package.
  3. Save the user input to a text file using the native fs module.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed Node.js (which includes npm).

Installation

  1. Clone the repository:

    git clone https://github.com/anuragjain-git/qr-code-generator.git
  2. Navigate to the project directory:

    cd qr-code-generator
  3. Install the dependencies:

    npm install inquirer qr-image

Usage

To use this project, follow these steps:

  1. Run the script:

    node index.js
  2. You will be prompted to enter a URL:

    Type in your URL: 
  3. After entering the URL, the following will happen:

    • A QR code image (qr_img.png) will be generated and saved in the project directory.
    • The entered URL will be saved to a text file (URL.txt).

Acknowledgements

About

URL to QR code generator using nodejs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published