Skip to content

Commit

Permalink
pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed May 25, 2024
1 parent 13994e9 commit cac3c83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/fetch-api-client/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# @interweb/node-api-client
# @interweb/fetch-api-client

<p align="center">
<img src="https://user-images.githubusercontent.com/545047/188804067-28e67e5e-0214-4449-ab04-2e0c564a6885.svg" width="80"><br />
Node.js API Client
Fetch API Client
</p>

`@interweb/node-api-client` is a lightweight and flexible HTTP client for interacting with RESTful APIs in Node.js. It supports common HTTP methods such as GET, POST, PUT, PATCH, and DELETE, with customizable options for headers, query parameters, and timeouts.
`@interweb/fetch-api-client` is a lightweight and flexible HTTP client for interacting with RESTful APIs in Node.js or the Browser. It supports common HTTP methods such as GET, POST, PUT, PATCH, and DELETE, with customizable options for headers, query parameters, and timeouts.

## install

```sh
npm install @interweb/node-api-client
npm install @interweb/fetch-api-client
```

## Usage

Here's an example of how to use `@interweb/node-api-client`:
Here's an example of how to use `@interweb/fetch-api-client`:

```js
import { APIClient, APIClientOptions } from '@interweb/node-api-client';
import { APIClient, APIClientOptions } from '@interweb/fetch-api-client';

const options: APIClientOptions = {
restEndpoint: 'http://localhost:8001/api'
Expand Down

0 comments on commit cac3c83

Please sign in to comment.