libsql / libsql/isomorphic-ts

Switch to Node 18 fetch()

Open
#6 1 comment 1 reaction 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.