jsqrcode-ts
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

jsqrcode-ts

Standalone QR reader for TypeScript, modified from https://github.com/mebjas/html5-qrcode.

Modified under the terms of the Apache 2.0 license.

Example usage

First install with npm i jsqrcode-ts.

import reader from "jsqrcode-ts";

const canvasElement = document.getElementById("my-canvas");

reader.scan(canvasElement).then(decoded_text => {
  // do what you want here
});

Readme

Keywords

none

Package Sidebar

Install

npm i jsqrcode-ts

Weekly Downloads

1

Version

0.2.2

License

Apache-2.0

Unpacked Size

1.21 MB

Total Files

21

Last publish

Collaborators

  • jacobwrenn