File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
## Installation
13
13
``` bash
14
- npm install possum
14
+ npm install possum-client
15
15
```
16
16
17
17
Or using yarn:
18
18
19
19
``` bash
20
- yarn add possum
20
+ yarn add possum-client
21
21
```
22
22
23
23
## Usage
24
24
First, import and initialize ` Possum ` in your application.
25
25
26
26
``` typescript
27
- import { performPossumRequest } from ' possum' ;
27
+ import { performPossumRequest } from ' possum-client ' ;
28
28
```
29
29
30
30
### Making Requests
31
31
32
32
Use ` performPossumRequest ` to handle your HTTP requests:
33
33
34
34
``` typescript
35
- import { performPossumRequest } from ' possum' ;
35
+ import { performPossumRequest } from ' possum-client ' ;
36
36
37
37
const requestData = {
38
38
url: ' https://example.com/data' ,
Original file line number Diff line number Diff line change 1
- import { performPossumRequest } from "possum" ;
1
+ import { performPossumRequest } from "possum-client " ;
2
2
3
3
const callApi = async ( ) => {
4
4
try {
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " possum" ,
2
+ "name" : " possum-client " ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " Lightweight http client with reconciliation" ,
5
5
"repository" : " https://github.com/FeezyHendrix/possum.git" ,
You can’t perform that action at this time.
0 commit comments