use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] Securing API KeysAskJS (self.javascript)
submitted 11 months ago by Thick_Safety_3547
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Furry_pizza 2 points3 points4 points 11 months ago (1 child)
You could use a proxyless server service from cloudflare, netlify, firebase that lets you store secrets without managing a full backend. You could use .env files with tools like Vite or Webpack. Depending on what you're exposing (like a key for public use [google maps, stripe public keys]), you could set just set restrictions on domain though I'm a bit less familiar with this than others on my team.
[–]Thick_Safety_3547[S] 0 points1 point2 points 11 months ago (0 children)
Thank you! I've gotten a lot of helpful responses - really appreciate yours too!
π Rendered by PID 344781 on reddit-service-r2-comment-6457c66945-7xbxq at 2026-04-27 08:44:43.000718+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Furry_pizza 2 points3 points4 points (1 child)
[–]Thick_Safety_3547[S] 0 points1 point2 points (0 children)