Skip to content

GEWIS/PDF-generator-client

Repository files navigation

PDF-server-client

This repository contains the client for the PDF-generator-server. The client is automatically generated using NSwag.

Usage

To use the client, add the following dependency to your package.json.

{
  "dependencies": {
    "@pdf/pdf-generator-client": "github:GEWIS/pdf-generator-client"
  }
}

Simply import it and make a client to start generating invoices.

import { Client } from '@pdf/pdf-generator-client';

let client =  new Client(process.env.BASE_URL);
client.generateInvoice(...);

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published