From cac3c83b51b3a6035a643cc041a9a6d9a56c81ac Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sun, 26 May 2024 01:45:51 +0200 Subject: [PATCH] pkg --- packages/fetch-api-client/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/fetch-api-client/README.md b/packages/fetch-api-client/README.md index 8c6d60a..a7db18b 100644 --- a/packages/fetch-api-client/README.md +++ b/packages/fetch-api-client/README.md @@ -1,24 +1,24 @@ -# @interweb/node-api-client +# @interweb/fetch-api-client


- Node.js API Client + Fetch API Client

-`@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'