0.0.5 • Published 3 years ago

web-client-starter v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years 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

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago