Skip to content

Commit 8b0ae67

Browse files
authored
chore: Update README (#44)
1 parent 3c6715f commit 8b0ae67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This package:
1111
+ **Supports abortable HTTP requests; no boilerplate.**
1212
+ **Can auto-abort HTTP requests in favor of newer request versions, with optional delaying (debouncing).**
1313
+ Works in any runtime that implements `fetch()` (browsers, NodeJS, etc.).
14-
+ Is probably the tiniest fetch wrapper you'll ever need: **364 LOC** including typing (`npx cloc .\src --exclude-dir=tests`).
14+
+ Is probably the tiniest fetch wrapper you'll ever need: **421 LOC** including typing (`npx cloc .\src --exclude-dir=tests`).
1515

1616
## Does a Non-OK Status Code Warrant an Error?
1717

@@ -149,8 +149,8 @@ else {
149149
> Since v0.11.0
150150
151151
All standardized HTTP status codes documented at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status)
152-
have been collected into the `StatusCodes` enumeration. Feel free to import it and use it to make your code far more
153-
readable and free of magic numbers.
152+
for the 2xx, 4xx and 5xx ranges have been collected into the `StatusCodes` enumeration. Feel free to import it and use
153+
it to make your code far more readable and free of magic numbers.
154154

155155
```typescript
156156
import { StatusCodes } from "dr-fetch";

0 commit comments

Comments
 (0)