Socket
Socket
Sign inDemoInstall

@openfn/language-divoc

Package Overview
Dependencies
11
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @openfn/language-divoc

An OpenFn adaptor for DIVOC


Version published
Weekly downloads
16
increased by23.08%
Maintainers
3
Install size
2.40 MB
Created
Weekly downloads
 

Readme

Source

language-divoc alt text Build Status

An OpenFn adaptor for building integration jobs for use with the DIVOC API.

Documentation

  • View the documentation at https://openfn.github.io/adaptor/
  • To update the documentation site, run: ./node_modules/.bin/jsdoc --readme ./README.md ./lib -d docs

sample configuration

{
  "baseUrl": "https://divoc.sub.io",
  "token": "some-super-long-token-shhhhhhhhhhh"
}

generate a DIVOC vaccine certificate

N.B., the body should contain all data required for the certificate, including preEnrollmentCode with a unique identifier.

certify({
  ...stuff,
  preEnrollmentCode: 'some-uuid',
});

Fetch the PDF for a generated DIVOC Certificate

N.B. the identifier should be the preEnrollmentCode sent when generating the certificate.

getCertificate({
  id: dataValue('preEnrollmentCode'),
});

Development

Clone the repo, run npm install.

Run tests using npm run test or npm run test:watch

Build the project using make.

FAQs

Last updated on 04 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc