1.0.3 • Published 6 years ago

node-qrdecode v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

github here

https://github.com/lovegnep/node-qrdecode

node-qrdecode is ?

a qrdecode with nodejs

what yuo can do with the node-qrdecode

  • decode the qr image

how to use

this package have used canvas@2.0, fs, so be sure that you have installed the canvas.

  • npm install node-qrdecode

when you have installed the node-qrdecode, you can use it by follow:

    let qrdecode = require('node-qrdecode');
    let imgpath = '/home/test.jpg';
    qrdecode(imgpath).then(function(data){
        console.log(data);
    }).catch...
    

or you can use it by async/await

    ...
    let data = await qrdecode(imgpath);
    console.log(data);
    

bugs please let me know

  • email(1256136108@qq.com)
  • QQ: 1256136108

about author

  var hehe = {
    nickName  : "gnep",
    site : "www.5min8.com"
  }
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago