https://github.com/hazzik/nz-covid-pass-verifier-js
https://github.com/hazzik/nz-covid-pass-verifier-js
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hazzik/nz-covid-pass-verifier-js
- Owner: hazzik
- License: agpl-3.0
- Created: 2021-12-27T06:36:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-28T00:45:31.000Z (over 3 years ago)
- Last Synced: 2025-03-12T17:45:50.819Z (2 months ago)
- Language: TypeScript
- Size: 139 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# NZ Covid Pass Verifier
TypeScript implementation of [NZ COVID Pass - Technical Specification v1](https://nzcp.covid19.health.nz/).
## Installation
```sh
npm install --save nz-covid-pass-verifier
```Or if you prefer to use Yarn:
```sh
yarn add nz-covid-pass-verifier
```## Usage
```typescript
import { Verifier } from "nz-covid-pass-verifier";let uri = "NZCP:/1/2KCE3IQEJB5DCMSLMY3....";
new Verifier().verify(uri).then((result) => {
console.log(result);
});
```