Socket
Socket
Sign inDemoInstall

qrcode-terminal

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qrcode-terminal

QRCodes, in the terminal


Version published
Weekly downloads
2.1M
increased by3.1%
Maintainers
1
Weekly downloads
 
Created

What is qrcode-terminal?

The qrcode-terminal package allows you to generate QR codes directly in your terminal. This is particularly useful for CLI applications and development tools where displaying a QR code in a graphical user interface is not feasible. The QR codes generated can encode URLs, text, or other data, and can be scanned using a smartphone or any other QR code reader.

What are qrcode-terminal's main functionalities?

Generate QR Code in Terminal

This feature allows you to generate a QR code in the terminal. The example provided generates a QR code for the URL 'https://www.example.com'. The option 'small: true' makes the QR code compact.

const qrcode = require('qrcode-terminal');

qrcode.generate('https://www.example.com', { small: true }, function (qrcode) {
    console.log(qrcode);
});

Other packages similar to qrcode-terminal

Keywords

FAQs

Package last updated on 28 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc