preflower / react-barcode-scanner

A lightweight React scan library based on modern API
https://reactbarcodescanner.vercel.app/
MIT License
36 stars 4 forks source link
barcode qrcode react
logo

React Barcode Scanner

npm version npm version licence: MIT

Introduction

A lightweight barcode scanner base on Barcode Detection API, and polyfill use zbar.wasm

Usage

import { BarcodeScanner } from 'react-barcode-scanner'
import "react-barcode-scanner/polyfill"

export default () => {
  return <BarcodeScanner />
}

Detail

Documentation

License

MIT