Skip to content

Commit 826aa86

Browse files
committed
docs: minor README tweaks
1 parent f84e102 commit 826aa86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Make a [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) reque
1111
## Features
1212

1313
- Supports Node 18+
14-
- Natively works in all browsers that support [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) without having to use any polyfils.
14+
- Natively works in all browsers that support [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) without having to use any polyfills.
1515
- [Tested](https://github.com/readmeio/fetch-har/actions) across Chrome, Safari, Firefox on Mac, Windows, and Linux.
16-
- Requests can be mocked with [`msw`](https://npm.im/msw) or [`fetch-mock`](https://npm.im/fetch-mock) (though the latter does not appear to be maintained).
16+
- Requests can be mocked with HTTP mocking libraries like [`nock`](https://npm.im/nock), [`msw`](https://npm.im/msw), or [`fetch-mock`](https://npm.im/fetch-mock).
1717

1818
## Installation
1919

@@ -25,7 +25,6 @@ npm install --save fetch-har
2525

2626
```js
2727
import fetchHAR from 'fetch-har';
28-
// const fetchHAR = require('fetch-har');
2928

3029
const har = {
3130
log: {
@@ -104,4 +103,5 @@ await fetchHAR(har, {
104103
});
105104
```
106105

107-
> ❗ Note that if you supply `body` or `credentials` to this option they may be overridden by what your HAR requires.
106+
> [!CAUTION]
107+
> If you supply `body` or `credentials` to this option they may be overridden by what your HAR requires.

0 commit comments

Comments
 (0)