Qrcode-terminal

qrcode-terminal

qrcode on terminal.

qrcode-terminal Going where no QRCode has gone before ;)

Helps you to generate qrcode in your terminal, maybe be URLs or just plain text, this module does a good job in displaying the qrcode on terminal.

It would be great if this module can generate responsive qr-code in the terminal, which can be bit of a challenge, it can generate small or normal ones though.

Get it: npm install qrcode-terminal

Sample usage:

1
2
3
4
5
6
7
8
9
10
const qrcode = require('qrcode-terminal');

qrcode.generate('This will be a QRCode, eh!');

qrcode.setErrorLevel('Q');
qrcode.generate('This will be a QRCode with error level Q!');

qrcode.generate('https://nmotw.in', function (qrcode) {
    console.log(qrcode);
});

GIF FTW!

qrcode-terminal

Suggest a module

Comments