cfc-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.23 • Public • Published

Client for Chinese Flashcards Backend

This npm project contains typescript code which consistutes a REST client for the backend of the Chinese Flashcards application.

Usage

npm i cfc-client

// index.ts
import { DefaultApi, Configuration } from "cfc-client";

const configuration = new Configuration({
    basePath: "https://localhost:3000",
});

const api = new DefaultApi(configuration);

const { health } = await api.getHealth();

Readme

Keywords

none

Package Sidebar

Install

npm i cfc-client

Weekly Downloads

119

Version

1.0.23

License

none

Unpacked Size

20.6 kB

Total Files

7

Last publish

Collaborators

  • peconomou