nz-covid-pass-verifier
v0.1.1
Published
TypeScript implementation of [NZ COVID Pass - Technical Specification v1](https://nzcp.covid19.health.nz/).
Downloads
7
Maintainers
Readme
NZ Covid Pass Verifier
TypeScript implementation of NZ COVID Pass - Technical Specification v1.
Installation
npm install --save nz-covid-pass-verifier
Or if you prefer to use Yarn:
yarn add nz-covid-pass-verifier
Usage
import { Verifier } from "nz-covid-pass-verifier";
let uri = "NZCP:/1/2KCE3IQEJB5DCMSLMY3....";
new Verifier().verify(uri).then((result) => {
console.log(result);
});