googleapis / googleapis/google-cloud-node

feat!: Migrate to `fetch`

Open
#7,717 7 comments 21 reactions 0 assignees View on GitHub
library: google-cloud-node-core priority: p3 type: feature request
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

As we plan to support multiple environments and runtimes it makes sense to migrate from `node-fetch` to the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). Transitioning this library to a interface on top of `fetch` provides a ton of flexibility and will greatly decrease package size.

Additionally:

- [ ] Update Github "about" section to:
```
An HTTP request client that provides a lightweight interface on top of `fetch`.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.