nz-covid-pass-verifier
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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);
});

Package Sidebar

Install

npm i nz-covid-pass-verifier

Weekly Downloads

1

Version

0.1.1

License

AGPL-3.0-only

Unpacked Size

52.5 kB

Total Files

17

Last publish

Collaborators

  • the_hazzik