Package Exports
- emvqr
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (emvqr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
emvqr
Javascript library to parse EMV QR codes.
how to use
const emvqr = require('emvqr');
const example = '00020101021229300012D156000000000510A93FO3230Q31280012D15600000001030812345678520441115802CN5914BEST TRANSPORT6007BEIJING64200002ZH0104最佳运输0202北京540523.7253031565502016233030412340603***0708A60086670902ME91320016A0112233449988770708123456786304A13A';
const result = emvqr.decode(example);
console.log('result', result);
//result [ { id: '00', name: 'Payload Format Indicator', len: 2, data: '01' }, ...