dryrain-barcode-scan-listener
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    Dryrain Technologies Barcode Scan Listener

    Build Status

    Listen for scan events inside Dryrain Technologies' Enterprise Browser iOS app. API documentation is not publicly available. See http://dryraintechnologies.com.

    Installation

    To install via npm:

    npm install dryrain-barcode-scan-listener
    

    To install via yarn:

    yarn add dryrain-barcode-scan-listener

    Usage

    import createDryrainBarcodeScanListener from 'dryrain-barcode-scan-listener';
     
    // Now, scanning a barcode 'L%123abc' will log 'L%123abc'
    const removeScanListener = createDryrainBarcodeScanListener({
      onScan: (barcode) => console.log(barcode),
    });
     
    // To remove the scan listener:
    removeScanListener();

    Keywords

    none

    Install

    npm i dryrain-barcode-scan-listener

    DownloadsWeekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    208 kB

    Total Files

    20

    Last publish

    Collaborators

    • goodeggs-admin