npm install qr.jsqrcode encoding in pure javascript with no additional dependencies
``js
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"
``
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.