Skip to content

Commit

Permalink
docs(readme): update readme
Browse files Browse the repository at this point in the history
clarify when is fetch polyfill needed
  • Loading branch information
ivandotv committed Jul 14, 2021
1 parent df0d382 commit fe833f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ API by default, returns `broken` stations (stations that are in the system but d

## Usage

Make sure you have a fetch implementation (e.g [node-fetch](https://www.npmjs.com/package/node-fetch)) available. You should also have an application name that is going to be passed as `user agent string` when talking to the API. You can use whatever you like but be consistent, the author of the API uses it to track usage statistics.
If using in node.js environment, make sure you have a fetch implementation (e.g [node-fetch](https://www.npmjs.com/package/node-fetch)) available. You should also have an application name that is going to be passed as `user agent string` when talking to the API. You can use whatever you like but be consistent, the author of the API uses it to track usage statistics.

```ts
import { RadioBrowserApi, StationSearchType } from 'radio-browser-api'
Expand Down

0 comments on commit fe833f7

Please sign in to comment.