No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 38fb0a5 Apr 5, 2017

A Node.JS port of Lazar Laszlo's jsqrcode for decoding QR Codes.

Now you can use it in node or in the browser!


    var Canvas = require('canvas')
      , Image = Canvas.Image
      , qrcode = require('jsqrcode')(Canvas)

    var filename = __dirname + '/qrcode.png'

    var image = new Image()
    image.onload = function(){
      var result;
        result = qrcode.decode(image);
        console.log('result of qr code: ' + result);
        console.log('unable to read qr code');
    image.src = filename