D
Deno

help

Access `navigator.geolocation` in deno runtime

DDNA10/25/2023
Hello, is it possible to access navigator.geolocation in the deno runtime?
IioB10/25/2023
no
DDNA10/25/2023
So id need to use eg. webviews?
IioB10/25/2023
you would have to use some library
DDNA10/25/2023
Do you know one?
IioB10/25/2023
I am not aware of any
EEsente10/26/2023
You can use Cloudflare worker on top. CF provides the geolocation data for the handler.

Looking for more? Join the community!

Recommended Posts
Tracking Down Lost MemoryHi, I have a long running service that creates many `JsRuntime`s over time and I have found that I `deno run` ignores @deno-types?```ts Uncaught SyntaxError: The requested module 'pg' does not provide an export named 'Pool' importWhere is my Twitter access token with Deno KV Oauth?I signed in successfully and now the Deno KV database is just storing `true`. It's not enough to intHow do I import the stripe SDK into my fresh.js projectHi there! How do I import the stripe SDK into my fresh.js project? Im struggling with my deno.json fUnable to find NPM:Rollup 4.1.4 on M1 MacHi all, hooking up a new build process for UI project, trying to use Rollup on an M1 Mac. My build How to get custom folder structure with Fresh?Hello, I want to integrate Fresh into my existing project. I want to use the 4 directories: componenFresh error: Could not fetch latest versionTotal newbie here. I'm getting "Update check failed: Could not fetch latest version." when I make a VSCode Test Debugging```json { "name": "Test", "request": "launch", "type": "node", "cwd": "$Can you recommend a mysql driver for deno that isn't a complete dead end?mysql2 port: never updated. mysql driver: doesn't support strings mysql connector from Oracle: no onHelp with Slack CLI DeploymentSorry if this has already been answered, but I am trying to deploy my Slack app and I keep getting tOrganizing dependencies in workspace with several project folderSuppose you have a workspace with several folder, and in each folder you have a deno project. What iGitHub CLI from denoIs it possible/how to use the GitHub cli (gh) from JavaScript on deno? Using the `Github cli` I'm abHow can I change the port in Fresh?I have tried the following in the Main.ts await start(manifest, { port: 3000 }), But I suspect this Alternative to react-selectHello is there some alternative to react-select with fresh? I don't find any working with preact/fr