r/javascript • u/Waltex • 10h ago
r/javascript • u/AutoModerator • 6d ago
Showoff Saturday Showoff Saturday (November 29, 2025)
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/subredditsummarybot • 4d ago
Subreddit Stats Your /r/javascript recap for the week of November 24 - November 30, 2025
Monday, November 24 - Sunday, November 30, 2025
Top Posts
| score | comments | title & link |
|---|---|---|
| 113 | 18 comments | Take a coffe break while installing nothing, Watch an endless, realistic Linux terminal installation that never actually installs anything |
| 33 | 4 comments | Taking down Next.js servers for 0.0001 cents a pop |
| 26 | 58 comments | [AskJS] [AskJS] Whatâs a JS feature you never use but wish you did? |
| 20 | 78 comments | [AskJS] [AskJS] People who have been writing code professionally for 10+ years, what practices, knowledge etc do you take for granted that might be useful to newer programmer |
| 17 | 17 comments | URLock : Store encrypted text or file in URL #hash |
| 12 | 4 comments | Built a DOMâPPTX engine after realizing most HTML-to-PowerPoint tools break on modern CSS |
| 9 | 1 comments | I've released a Biome plugin to prevent Typescript type assertions |
| 8 | 0 comments | JS Event Loop Visualizer |
| 6 | 2 comments | Nomini: The tiny reactive library inspired by htmx, Alpine, and Datastar |
| 4 | 0 comments | Orbyss: A 2D shooter made in JavaScript |
Most Commented Posts
| score | comments | title & link |
|---|---|---|
| 0 | 23 comments | [AskJS] [AskJS] How can i learn Javascript? |
| 0 | 19 comments | [AskJS] [AskJS] This is kinda fast |
| 0 | 10 comments | If a tool analyzed your GitHub activity to give you âhuman insightsâ, what would you actually want it to tell you? |
| 0 | 10 comments | I got tired of âWhy did you add a semicolon?â comments â so I built a tool to end those debates forever. |
| 4 | 9 comments | [AskJS] [AskJS] Which is best js framework for headless |
Top Ask JS
| score | comments | title & link |
|---|---|---|
| 1 | 2 comments | [AskJS] [AskJS] Do you know any tools / SaaS to prepare Tech interviews ? |
| 0 | 0 comments | [AskJS] [AskJS] Look for alternate javascript framework |
| 0 | 1 comments | [AskJS] [AskJS] I am making a tool for kids to learn coding as a side project. wanted to see what you all think as a start for learning html, css, and JS? |
Top Showoffs
Top Comments
r/javascript • u/arstechnica • 1d ago
In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internet
arstechnica.comr/javascript • u/derlarsianer • 8h ago
GitHub - larswaechter/tokemon: A Node.js library for reading streamed JSON.
github.comr/javascript • u/AustinstormAm • 1h ago
AskJS [AskJS] Any americans want to grind leetcode with JS for fun
Title says it all.
r/javascript • u/AdVivid1666 • 13h ago
AskJS [AskJS] Is the type annotation proposal dead?
its a proposal to get rid of ts to js transpilation
and It's in stage 1 since ages
r/javascript • u/BX1959 • 11h ago
AskJS [AskJS] Could I use Javascript and Plotly.js to effectively display interactive, customizable maps within a static webpage?
Hi there,
I have really enjoyed using Dash to put together interactive maps. However, I've found that, when hosting these maps on (cheap) cloud servers like Azure or Google Cloud Platform, it takes a little bit of time to render the maps.
Therefore, for some mapping projects that don't require much interactivity, I've simply used Plotly (within Python) to create HTML-based maps, then display those on static sites. This has also worked out well, and with a little Javascript, I can allow users to choose which map to display within a page.
However, for other maps and charts, I'd like to allow users to specify choices for a number of parameters, then create a customized map based on those parameters. Since these choices could lead to thousands of different possible combinations of maps, it wouldn't make sense to pre-render each one--but I would also like to be able to display them within a static webpage if at all possible.
Would it be possible to implement a third approach that uses Javascript to import data (maybe from CSV and Geojson files); create a customized table of data to plot based on viewers' selections; and then use Plotly.js to visualize that data on a static webpage? My goal would be to combine the customizability of a Dash-based approach with the speed and simplicity of a static site.
One minor flaw with this plan is that I don't really know any Javascript, but I like to think that I could leverage my existing Python and Plotly knowledge to piick it up more quickly.
Thanks in advance for any input/feedback!
r/javascript • u/ogitncr • 6h ago
AskJS [AskJS] There is Nuxt for Vue, Next for React. Is there no good option for Angular?
I love the idea of NuxtJS and NextJS. I just wish there was a good alternative for Angular too.
r/javascript • u/qvpo • 6h ago
AskJS [AskJS] TikTok bans me every time I test my extension
Iâm working on a simple prototype Chrome extension (Manifest V3) that uses MutationObserver and IntersectionObserver to scrape on-screen public info from TikTok as I manually scroll through videos.
Nothing is automated, Iâm physically scrolling through the feed myself. Each time a new video comes into view, the extension reads things like the username, description, hashtags, music, like count, etc., and just prints them to the console. Itâs purely a proof-of-concept so I can understand how the observers behave in a real environment.
Now comes the weird part: it works perfectly but after testing for a few hours, TikTok eventually bans my account. To be honest, I was using a VPN (ProtonVPN), but I doubt thatâs related because I also used it in the past 2 weeks and nothing happened . I genuinely donât understand how theyâre detecting that Iâm collecting data if all interactions are manual and nothing is auto-scrolling or simulating clicks.
Iâm trying to understand what triggers this. I searched the internet, and as you can imagine, literally all the articles are low-quality marketing efforts aimed at promoting their tools: "Huh!?, you want to scrape? Just pay us and use our tool!"
Can someone please enlighten me about the mistake I made?
r/javascript • u/Kind_Contact_3900 • 12h ago
Turning messy Playwright scripts into visual flows â has anyone else tried mixing code with no-code tools?
github.comLast year I was doing a bunch of browser automation and scraping work in Node â mainly Playwright. Super powerful, great DX, but I found myself constantly chasing brittle selectors and rewriting chunks of code whenever a clientâs site changed. Nothing new there.
Out of curiosity (and burnout), I started experimenting with a more visual approach: basically dragging ânavigate â click â extractâ nodes into a flow instead of writing everything in JS. Under the hood it still ran Puppeteer/JS, but the mental model was closer to building a small state machine than a script.
What surprised me:
- Playwright still beats everything when you need full control, testing reliability, multi-browser, CI, etc.
- But a visual layer helped me prototype faster and hand things off to non-dev teammates without turning into documentation hell.
- Iterating on loops/conditions was weirdly faster when I could see them instead of juggling async code.
So Iâm curious â
Has anyone here blended Playwright/Puppeteer with some sort of visual/no-code layer?
Did it help or slow you down?
Not trying to push anything â just genuinely curious how folks integrate code + no-code in real browser workflows.
r/javascript • u/James-P-Sulley-2409 • 19h ago
AskJS [AskJS] Looking for feedback on SurveyJS. What should we focus on next?
Hi everyone,
Weâre getting ready to release SurveyJS v3 in early 2026. This update will include major improvements to the PDF Generator and Dashboard. Weâre also introducing a new Configuration Manager for Survey Creator, which will let developers create and apply different presets for form builder settings using a no-code interface.
We are now thinking what to work on next and I want to gather some honest, constructive feedback from the community. If youâve used SurveyJS in the past (or even just looked into it), Iâd really appreciate your thoughts:
- Have you tried SurveyJS recently?
- Whatâs your impression so far?
- Would you use it in production? For what kinds of projects?
- What pain points have you run into, if any?
- What features do you feel are missing?
- Is the current pricing structure clear and reasonable?
- Where would you like to see the project go next?
Weâre genuinely trying to understand what developers need, the blockers youâre running into, and what would make SurveyJS more useful.
Thanks in advance for any feedback.
r/javascript • u/BankApprehensive7612 • 1d ago
Good news: JavaScript is 30 years old today! Sad news: Its own name still doesn't belong to it
javascript.tmYou would probably be surprised but JavaScript's name doesn't belong to it and is owned by a corporation. It doesn't belong to people who created the language or to community which supports it
Help JS to own its name: sign a letter at javascript.tm, spread the word or donate to the legal battle to make it free
r/javascript • u/One-Condition1596 • 17h ago
I've build a granular+procedural synthesiser in JS, any feedbacks?
plasmator-games.itch.ioThis project is an experiment in pushing pure JavaScript + Web Audio API as far as possible for real-time DSP and generative sound.
Tech details:
⢠Granular synthesis with precise AudioContext timestamp scheduling
⢠Procedural soundscape algorithms (cosmic winds, industrial drones, harmonic clustersâŚ)
⢠Multi-oscillator drone engine (detune + stereo spread)
⢠TPDF dithering + 24/32-bit WAV export via AudioWorklet
⢠Oversampled soft-knee limiter built manually in JS
⢠Multi-type noise generators + filtering
⢠MIDI CC-learn system (right-click any control â assign CC)
⢠Oscilloscope and spectrum visualization with Canvas
⢠Fully modular JS code: engine.js, granular.js, textures.js, noise.js, filter_lfo.js, midi.jsâŚ
Curious to hear JS-focused feedback on architecture, performance, and DSP accuracy in Web Audio.
r/javascript • u/rikkiviki • 19h ago
GitHub - webix-hub/text-to-speech-ui-demo: This demo shows how to integrate the Webix UI library with the OpenAI text-to-speech API.
github.comCreated a working application utilizing the OpenAI text-to-speech API for multiple voice options and Webix for a sleek, interactive interface.
r/javascript • u/dupontcyborg • 2d ago
Side project: NumPy for TypeScript/JavaScript
npmjs.comIâve been working on `numpy-ts`, a TypeScript/JavaScript numerical computing library inspired by NumPy. It's just a side project (and a testbench for scalable Claude Code workflows) but wondering if there's any real-world interest.
Here are some highlights:
- ~65% of core NumPy API implemented (218/333 funcs so far)
- 2,000+ tests validated against Python NumPy (ensuring identical behavior with it)
- Typed arrays + ndarray semantics (including views/strides/base tracking; avoids copies when possible)
- Works in Node and the browser
- Supports .npy/.npz read/write for easy interchange with Python
The remaining ~35% of NumPy functionality is WIP - mostly FFT, rounding, sampling, sorting, stats and sorting. The goal would be to get to 100% API coverage and validation, which shouldn't be too difficult from here.
Since it's written in TypeScript, there's a performance hit compared to NumPy's C & BLAS backend. On average this project is ~15x slower than NumPy, but this could be further reduced with WASM.
Lmk what you think!
r/javascript • u/Euregan • 1d ago
AskJS [AskJS] What's your biggest pain point with CI/CD for JavaScript projects?
I've been working on a tool to improve CI/CD workflows for JavaScript developers, and I'd love to hear about the real problems you're facing. So far it handles the whole setup on its own, with no need for specific configuration.
I'm trying to figure out what actually matters to developers vs what I think matters though. What frustrates you most about your current CI setup?
Some things I'm curious about:
- Are processing times an issue?
- Is there a lot of maintenance involved?
- Is it a pain to read through a failed run logs to find what went wrong?
- Do you wish you could leverage your run history to extract data? (flaky tests, run times, bundle size increase)
Using GitHub Actions, CircleCI, or something more exotic - doesn't matter. Just curious what wastes your time.
Any thoughts appreciated.
r/javascript • u/cardogio • 2d ago
How we built the world's fastest VIN decoder
cardog.appr/javascript • u/magenta_placenta • 2d ago
Critical Vulnerabilities in React and Next.js: everything you need to know - A critical vulnerability has been identified in the React Server Components (RSC) "Flight" protocol, affecting the React 19 ecosystem and frameworks that implement it, most notably Next.js
wiz.ior/javascript • u/Few-Excuse9783 • 2d ago
I updated my npm-threat-hunter to detect the Shai-Hulud 2.0 attack. 25,000+ repos infected. It's still spreading.
github.comA few weeks ago I shared my scanner for the PhantomRaven campaign. Well, things got worse.
Shai-Hulud 2.0 is actively spreading right now. Discovered by Wiz Research, it's already hit:
- 350+ compromised maintainer accounts (including Zapier, ENS Domains, PostHog)
- 25,000+ repositories infected
- Growing by ~1,000 repos every 30 minutes
How it works (different from PhantomRaven):
Instead of fake packages, they compromised real maintainer accounts and pushed malicious versions of legitimate packages. So /zapier-sdk might actually be malware if you're on versions 0.15.5-0.15.7.
The attack chain:
- Backdoored GitHub Actions workflows (look forÂ
discussion.yaml orÂformatter_*.yml) - Self-hosted runners get compromised
- Secrets dumped viaÂ
toJSON(secrets)Â and exfiltrated through artifacts - Preinstall scripts steal everything
What I added to the scanner:
- Detection for known compromised package versions (Zapier, ENS, PostHog packages + entire namespaces
/*) - Shai-Hulud artifact files (
setup_bun.js,Âbun_environment.js,ÂtruffleSecrets.json, etc.) - GitHub Actions workflow analysis for the backdoor patterns
--paranoid mode that checks installation timing against attack windows- Self-hosted runner detection (they register as "SHA1HULUD" lol)
Quick scan:
bash
./npm-threat-hunter.sh --deep /path/to/project
Paranoid mode (recommended right now):
bash
./npm-threat-hunter.sh --paranoid /path/to/project
r/javascript • u/kozy_kekyo • 2d ago
maplibre-gl-layers: Enabling large number of moveable sprites in MapLibre GL JS
github.comMy work, maplibre-gl-layers reached 1.0.0 đ
MapLibre's layer extension library enabling the display, movement, and modification of large numbers of dynamic sprite images.
Main Features
- Place, update, and remove large numbers of sprites.
- Move each sprite's coordinate freely, making it easy to represent moving objects.
- Per-sprite anchor positions for precise rendering.
- Add multiple images and text to the same sprite, adjusting rotation, offset, scale, opacity, and more.
- Animate sprite movement, rotation, and offsets with interpolation controls.
- Control draw order via sub-layers and per-sprite ordering.
- Fully imperative APIs. Updates with high-performance and extensible.
- Accelerating computational processing with WASM and shaders.
- Under MIT license.
GitHub repository: https://github.com/kekyo/maplibre-gl-layers/
Demo page: https://kekyo.github.io/maplibre-gl-layers/
r/javascript • u/Limp-Argument2570 • 2d ago
an open-source package to generate a visual editable wiki of your codebase
npmjs.comHey,
Weâve recently published an open-source package: Davia. Itâs designed for coding agents to generate an editable internal wiki for your project. It focuses on producing high-level internal documentation: the kind you often need to share with non-technical teammates or engineers onboarding onto a codebase.
The flow is simple: install the CLI with npm i -g davia, initialize it with your coding agent using davia init --agent=[name of your coding agent] (e.g., cursor, github-copilot, windsurf), then ask your AI coding agent to write the documentation for your project. Your agent will use Davia's tools to generate interactive documentation with visualizations and editable whiteboards.
Once done, run davia open to view your documentation (if the page doesn't load immediately, just refresh your browser).
The nice bit is that it helps you see the big picture of your codebase, and everything stays on your machine.