text-to-qr
v1.1.0
Published
An npm package to generate qrcode.
Readme
text-to-qr
text-to-qr is a simple Node.js command-line tool that generates QR codes from user input. It displays the QR code in the terminal and saves it as an image file (qrcode.png).
✨ Features
- ✅ Generates a QR code from user input
- ✅ Displays the QR code in the terminal
- ✅ Saves the QR code as an image file (
qrcode.png)
📌 Requirements
- Node.js installed on your system
🚀 Installation
📥 Install via npm (Recommended)
If you have published this package on npm, you can install it globally with:
npm install -g text-to-qrThen, you can run the command from anywhere:
generate-qr🔧 Install Manually
Clone the repository and install dependencies:
git clone https://github.com/Himanshu110109/Qrcode-gen.git
cd Qrcode-gen
npm install🔹 Usage
Using npm global install:
text-to-qrUsing local installation:
node index.js📦 Dependencies
- qrcode – For generating QR codes
- inquirer – For interactive command-line input
- fs – For file system operations
- chalk – For colorful terminal output
- terminal-image – For displaying images in the terminal
📜 License
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
🔗 Repository
GitHub Repository: Qrcode-gen
