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

7 lines
150 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
var qrcode = require('../lib/main'),
url = 'https://google.com/';
qrcode.generate(url, { small: true }, function (qr) {
console.log(qr);
});