You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for non-Node worker environments #5786
Support for non-NodeJS runtimes like Cloudflare workers. Currently this library fails to compile for Cloudflare when using Nitro framework. In other workers it could just fail in runtime.
Describe alternatives you've considered
It works to use this library only for Typescript types and send requests the other way:
If you're only importing it for the types, google-maps-fetch might save you the package: typed requests and responses for Places (New), Routes and Geocoding, using only fetch, and it runs on Workers. Your autocomplete call would be:
Activity
OultimoCoder commentedon Nov 6, 2024
Please do this
ninadsutrave commentedon Nov 27, 2026
If you're only importing it for the types, google-maps-fetch might save you the package: typed requests and responses for Places (New), Routes and Geocoding, using only
fetch, and it runs on Workers. Your autocomplete call would be:https://github.com/ninadsutrave/google-maps-fetch