1var qrcode = require('../lib/main'), 2 url = 'https://google.com/'; 3 4qrcode.generate(url, { small: true }, function (qr) { 5 console.log(qr); 6}); 7