qrcode-parser

A pure javascript QR code reading library, accept File object, image url, image base64.

Usage no npm install needed!

<script type="module">
  import qrcodeParser from 'https://cdn.skypack.dev/qrcode-parser';
</script>

README

qrcode-parser

NPM version NPM downloads CircleCI

A pure javascript QR code reading library, accept File object, image url, image base64.

Example

👉 DEMO

Install

yarn add qrcode-parser

Usage

import qrcodeParser from "qrcode-parser";

// input should be File object, image url, image base64
qrcodeParser(input);
// => return promise

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

qrcode-parser © sinchang, Released under the MIT License.
Authored and maintained by sinchang with help from contributors (list).

sinchang.me · GitHub @sinchang · Twitter @sinchangwen