0.0.5 • Published 9 months ago

web-client-starter v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Web-client-starter

A library to fetch api in typescript with richer types

How to use

  • If you want to enable the log encryption, you have to set two env variable as LOGGING_ENCRYPTION_KEY="your log encryption key" and LOGGING_ENCRYPTION_ENABLED="true" .
  • By default log encryption is disabled.

Example

import WebClient from "web-client-starter"

WebClient.get<Record<string, any>>({baseUrl: "baseUrl", path: "/path"})
0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago