This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Simple green pass decoder inspired by https://git.gir.st/greenpass.git/blob_plain/master:/greenpass.py | |
* | |
* 2021 Lorenzo Millucci | |
* | |
* Before usage install following dependecies `npm install base45 cbor jpeg-js jsqr pako` | |
*/ | |
const base45 = require('base45'); | |
const cbor = require('cbor'); |