Skip to content

Commit

Permalink
chore: pushed to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
FeezyHendrix committed Dec 15, 2023
1 parent 0f01221 commit 7fb6c5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@

## Installation
```bash
npm install possum
npm install possum-client
```

Or using yarn:

```bash
yarn add possum
yarn add possum-client
```

## Usage
First, import and initialize `Possum` in your application.

```typescript
import { performPossumRequest } from 'possum';
import { performPossumRequest } from 'possum-client';
```

### Making Requests

Use `performPossumRequest` to handle your HTTP requests:

```typescript
import { performPossumRequest } from 'possum';
import { performPossumRequest } from 'possum-client';

const requestData = {
url: 'https://example.com/data',
Expand Down
2 changes: 1 addition & 1 deletion demo/example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { performPossumRequest } from "possum";
import { performPossumRequest } from "possum-client";

const callApi = async () => {
try {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "possum",
"name": "possum-client",
"version": "1.0.0",
"description": "Lightweight http client with reconciliation",
"repository": "https://github.com/FeezyHendrix/possum.git",
Expand Down

0 comments on commit 7fb6c5c

Please sign in to comment.