unjs / unjs/ofetch

Ability to pass in custom fetch fn is not documented

Open Beginner friendly
#533 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
TypeScript
Stars
5.4k
Forks
195
PR merge metrics
No merged PRs in 30d

Description

Describe the change

This ability is critical: https://github.com/unjs/ofetch/blob/v1/src/fetch.ts#L39

Yet there's no mention of it in the README.md file

URLs

No response

Additional information
  • Would you be willing to help?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with README.md and compare its documented options with the custom fetch function referenced at src/fetch.ts:39. Document how to pass a custom fetch function and what it is used for; done means the README clearly covers this existing capability.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.