huanggang 03a863fb53 add node_modules 7 years ago
..
example 03a863fb53 add node_modules 7 years ago
lib 03a863fb53 add node_modules 7 years ago
.npmignore 03a863fb53 add node_modules 7 years ago
LICENSE 03a863fb53 add node_modules 7 years ago
README.md 03a863fb53 add node_modules 7 years ago
index.js 03a863fb53 add node_modules 7 years ago
package.json 03a863fb53 add node_modules 7 years ago

README.md

qr.js

qrcode encoding in pure javascript with no additional dependencies

var qr = require('qr.js');

var qrcode = qr('foo bar baz');

var cells = qrcode.modules;

// cell[R] -> row
// if cell[R][C] is true, that cell is "on"

interactive example

credit

This library is repackaged work from the qrcode library here http://www.d-project.com/ which is also licensed under the MIT license. See LICENSE-qrcode for the license file to that project.

notes

The word "QR Code" is registered trademark of DENSO WAVE INCORPORATED http://www.denso-wave.com/qrcode/faqpatent-e.html