Skip to content

diaswrd/qrcode-npm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qrcode-npm

Forked from cmanzana/qrcode-npm

This is an npm module for qrcode JavaScript library (http://www.d-project.com/qrcode)

Notice that I am not the author of the code, I am just the creator of an npm module out of the great library from Kazuhiko Arase Notice also that there is another module (node-qrcode, see: https://github.com/soldair/node-qrcode), which is more sophisticated, but that uses canvas module. If your target system can run the canvas module then I recommend using node-qrcode, otherwise use qrcode-npm

examples

var qrCode = require('qrcode')

var qr = qrCode.qrcode(4, 'M');
qr.addData(text);
qr.make();

qr.createImgData(4);   // creates and return a base64 image data
qr.createImgTag(4);    // creates an <img> tag as text
qr.createTableTag(4);  // creates a <table> tag as text

install

npm install qrcode-npm

The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED

About

NPM module for qrcode JavaScript library (http://www.d-project.com/qrcode)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%