googleapis / googleapis/google-cloud-node

Support for Browser Runtime

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

Description

## Summary

Is there any considerations of Supporting Browser Runtime?
It will be really useful for Front-end Developers Using this library in Browser Runtime (like Chrome)

## Details

Recently, I generated typescript API from my protobuf(`.proto`) file using this library.
I tried to use this API in my Nextjs Project.

it works on Server Side Request(Node.js runtime) as expected,
but When requesting in the browser, it didn't work
because it depends on nodejs runtime dependencies (like `fs`, `utils`, `promisify` ...etc)

It would be really helpful for Frontend Developers if this generator supports browser runtime.
Thank you.

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.