lhl 982c208bef 9-30 | há 2 anos atrás | |
---|---|---|
.. | ||
test | há 2 anos atrás | |
LICENSE | há 2 anos atrás | |
README.md | há 2 anos atrás | |
package.json | há 2 anos atrás | |
qrcode.js | há 2 anos atrás |
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 simply creating 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 and uses canvas object:
var qrCode = require('qrcode')
var qr = qrCode.qrcode(4, 'M');
qr.addData(text);
qr.make();
qr.createImgTag(4); // creates an <img> tag as text
qr.createTableTag(4); // creates a <table> tag as text
npm install qrcode-npm
The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED