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

5 lines
119 B
JavaScript

var qrcode = require('../lib/main');
qrcode.generate('someone sets it up', function (str) {
console.log(str);
});