react-barcode-scanner
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published
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'

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

Polyfill

To support SSR, v2.0.0 not auto import polyfill anymore, user need import it manually.

import "react-barcode-scanner/polyfill"

Detail

Documentation

License

MIT

/react-barcode-scanner/

    Package Sidebar

    Install

    npm i react-barcode-scanner

    Weekly Downloads

    90

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    34.2 kB

    Total Files

    47

    Last publish

    Collaborators

    • preflower
    • imted