GT2/GT2-Android/node_modules/qrcode-terminal/example/small-qrcode.js

7 lines
150 B
JavaScript

var qrcode = require('../lib/main'),
url = 'https://google.com/';
qrcode.generate(url, { small: true }, function (qr) {
console.log(qr);
});