Skip to content

lovegnep/node-qrdecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

about author

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published