qrcode.js

0.0.1 • Public • Published

Javascript QR Codes

Read and Generate QR codes in js - either in node, or in the browser with browserify.

A fork of jsqrcode which is a port of ZXing

Usage

Set qrcode.callback to function "func(data)", where data will get the decoded information.

Decode image with: qrcode.decode(url or DataURL). Decode from canvas with "qr-canvas" ID: qrcode.decode()

For webcam qrcode decoding (included in the test.html) you will need the camcanvas.swf from http://www.taboca.com/p/camcanvas/

/qrcode.js/

    Package Sidebar

    Install

    npm i qrcode.js

    Weekly Downloads

    34

    Version

    0.0.1

    License

    Apache

    Last publish

    Collaborators

    • peterbraden