qrcode-parser
Version:
A pure javascript QR code decoding library, accept File object, image url, image base64.
40 lines (25 loc) • 1.37 kB
Markdown
# qrcode-parser
[](https://npmjs.com/package/qrcode-parser)  [](https://npmjs.com/package/qrcode-parser) 
A pure javascript QR code decoding library, accept File object, image url, image base64.
## Example
👉 [DEMO](https://qrcode-parser.netlify.com)
## Install
```bash
yarn add qrcode-parser
```
## Usage
```js
import qrcodeParser from "qrcode-parser";
qrcodeParser(input);
// => return promise
```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Author
**qrcode-parser** © [sinchang](https://github.com/sinchang), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by sinchang with help from contributors ([list](https://github.com/sinchang/qrcode-parser/contributors)).
> [sinchang.me](https://sinchang.me) · GitHub [@sinchang](https://github.com/sinchang) · Twitter [@sinchangwen](https://twitter.com/sinchangwen)