https://www.npmjs.com/package/qrcode-terminal qrcode.generate('http://github.com', function (qrcode) { console.log(qrcode); });
so easy