Skip to content

Commit 6bfb367

Browse files
committed
chore: Rename to dr-fetch
1 parent 0a70007 commit 6bfb367

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# wj-fetch
1+
# dr-fetch
22

33
This is one more package for fetching. The difference with other packages is that this one does it right.
44

@@ -29,7 +29,7 @@ such thing.
2929
### Installation
3030

3131
```bash
32-
npm i wj-fetch
32+
npm i dr-fetch
3333
```
3434

3535
### Create Custom Fetch Function
@@ -55,7 +55,7 @@ Think of this custom function as the place where you do interceptions (if you ar
5555
### Create Fetcher Object
5656

5757
```typescript
58-
import { WjFetch } from "wj-fetch";
58+
import { WjFetch } from "dr-fetch";
5959
import { myFetch } from "./myFetch.js";
6060

6161
const fetcher = new WjFetch(myFetch);
@@ -131,7 +131,7 @@ what if your API is standardized so all status `400` bodies look the same? Then
131131

132132
```typescript
133133
// root-fetcher.ts
134-
import { WjFetch } from "wj-fetch";
134+
import { WjFetch } from "dr-fetch";
135135
import { myFetch } from "./my-fetch.js";
136136
import type { BadRequestBody } from "my-datatypes.js";
137137

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "wj-fetch",
2+
"name": "dr-fetch",
33
"version": "0.0.1",
44
"description": "Fetching done right, not just the happy path.",
55
"main": "dist/index.js",

0 commit comments

Comments
 (0)