JSPM

qr.js

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 954472
  • Score
    100M100P100Q175125F
  • License MIT

qrcode encoding in javascript

Package Exports

  • qr.js
  • qr.js/lib/BitBuffer
  • qr.js/lib/ErrorCorrectLevel
  • qr.js/lib/QRCode
  • qr.js/lib/mode

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qr.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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