New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-mrz-scanner

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-mrz-scanner

A React component to scan MRZ on passports, visa cards, etc.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

react-mrz-scanner

A React component to scan MRZ on passports, visa cards, etc. It is based on Dynamsoft Label Recognizer.

Online demo

demo video

Installation

npm install react-mrz-scanner

Usage

  • Import the library along with its css:

    import { MRZScanner } from 'react-mrz-scanner';
    import '../node_modules/react-mrz-scanner/dist/style.css';
    
  • Use the component in jsx:

    <MRZScanner
      license="DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ=="
      scanning={true}
      onScanned={(results)=>(console.log(results))}
    >
    

Product License

You need to pass a license for Dynamsoft Label Recognizer. You can apply for one here. A one-day trial license will be used by default if you do not specify one.

Keywords

mrz

FAQs

Package last updated on 31 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts