/react-boleto-reader

Utility to read, via browser camera, brazilian-banking barcode. [UNDER CONSTRUCTION]

Primary LanguageJavaScript

React Boleto Reader

Utility to read, via browser camera, brazilian-banking barcode.

NPM JavaScript Style Guide

Install

npm install --save react-boleto-reader

Recommendation

Use this component with smart devices, witch probably have high quality cameras.

Important

The project was built with React Hooks features, requiring versions starting from 16.8.x.

Browser camera only will be available to use if:

  1. The device have a camera (KKK, sorry);
  2. Your application is running over HTTPS

To apps initializeds by create-react-app, this should works:

HTTPS=true npm start

Usage

Examples at this codesandbox.

Could be better, right?

Sorry.

I dedicated about 32 hours to do this package, without any previous plan and idea, only with some inspirations. Running to delivery another company project, who is the principal and much biggier.

So, if you have any suggestions, or be comfortable to code some improvements, feel free to do so.

Special thanks

All the awesome projects which made this other one possible:

License

MIT © udimberto