Switch to Node 18 fetch()
Open
Nobody has claimed this yet.
enhancement
good first issue
help wanted
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
The node-fetch package is now ESM-only, which makes it hard to use for @libsql/client, which also compiles to CommonJS. Let's consider switching to Node 18 and using it's fetch() instead.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the @libsql/client code that imports or uses node-fetch and checking how the package compiles to CommonJS. Compare the current fetch usage with Node 18's fetch(), then verify that the client still builds and its existing behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, typescript
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100