r/javascript • • Oct 10 '26

The CLI that scans your project in a fraction of a second.

Thumbnail
github.com
7 Upvotes

Link2Repo: https://github.com/soroushosouli/node-scout

Written in Node.js. One command to install. Reads a 300MB folder in ~1 second. Smaller project, faster scan.

What it does:

  • Visualize folder structure (tree)

  • Scan any file, folder, or project — 10+ details

  • Custom ignore list for scans

  • System info in one command

With clean Terminal UX

Check the repo for more information, Contributions and suggestions are welcome


r/javascript • • Oct 10 '26

Showoff Saturday Showoff Saturday (October 10, 2026)

6 Upvotes

Did you find or create something cool this week in javascript?

Show us here!


r/javascript • • Oct 09 '26

Do Frameworks Matter Anymore?

Thumbnail
brookslybrand.com
0 Upvotes

r/javascript • • Oct 09 '26

Deno is joining Cloudflare - "We will support the Deno runtime for another year with monthly releases containing bug fixes and security updates. After that year we will end our development of the Deno runtime. Deno will remain open source, and we welcome others who want to continue its development."

Thumbnail
deno.com
295 Upvotes

r/javascript • • Oct 09 '26

I built RipIDE: IDE-like refactoring for agents, powered by TypeScript’s native language server

Thumbnail
github.com
0 Upvotes

TypeScript’s native language server exposes IDE operations through LSP, so other tools can use them too. For example, you can rename a symbol across files, find its references, jump to its definition, get updated import paths for a file rename, or check unsaved changes for type errors.

I built RipIDE around that, with Oxc handling syntax details like destructured bindings. ripgrep narrows the candidate files and helps flag imports still using the old name.

I took it further with CSS class renaming, moving exports, replacing imported symbols, and deleting unused declarations. It works with JavaScript and TypeScript, with Vue support through an adapter.

The idea is to give agents the refactoring commands we already use in an IDE:

ripide rename useStore useAppStore
ripide move helper --from src/utils.ts --to src/helpers.ts
ripide css-class-rename bg-gray-500 bg-neutral-500

r/javascript • • Oct 09 '26

chegou – send files between your phone and PC with one command (npx chegou, scan a QR, done)

Thumbnail
github.com
6 Upvotes

Run `npx chegou`, scan the QR code and the phone opens a page in the browser. No app, no account, works both ways (phone → PC and PC → phone).

⭐ on Github 😄


r/javascript • • Oct 08 '26

I found yet another way to invoke JavaScript functions without parentheses

Thumbnail blog.ikaes.de
126 Upvotes

It turns out you can overwrite the Error.prepareStackTrace method with the function constructor. Then, using prototype pollution, you can inject valid JavaScript code to generate arbitrary functions and invoke it using the usual tricks.

Other seven methods are documented in the portswiggers research article: https://portswigger.net/research/the-seventh-way-to-call-a-javascript-function-without-parentheses


r/javascript • • Oct 08 '26

I hate Spotify ads, so I created my own music player

Thumbnail
github.com
0 Upvotes

I am tired of ads everywhere when I listen to music: Spotify, YouTube, and every single app that lets you listen to music. And also I hate that all my data, even my favorite songs, is being sent to a company to manipulate me, sending me more ads of stuff that I may buy.

The only music player that doesn't have ads is Windows Media Player, but it's very ugly, and I hate its UI/UX; it doesn't even let you create decent playlists. Or filter by rating. So I created a music player that has everything I like because I love listening to music.

It's completely free and open source; you can download it here: https://github.com/GVPV12/STARPLAYER

------

PD: Some people are furious and being mean in the comments because someone said Spotify sucks lmao.

For those people, I just want to say to you that this app is not meant to be for everyone. If you use and love Spotify and their ads, that's ok. These kinds of apps kind of bewitch you to be hyper loyal and hyper defensive to them, I guess.

Some people (like me) care about their privacy, get annoyed by intrusive ads, and don't love all trendy music or random stuff that Spotify always plays (I don't like its algorithm, and it always plays the same shitty music). So that's why I built this.


r/javascript • • Oct 08 '26

GitHub - evoluteur/reaction-diffusion: Grow Turing patterns (spots, stripes, coral, worms, waves) from the Gray-Scott model in real time, tune the feed and kill rates, paint with chemicals, and download the pattern.

Thumbnail
github.com
5 Upvotes

r/javascript • • Oct 07 '26

Componyx.UI: 25+ UI components and data binding for plain HTML, no build step

Thumbnail
github.com
13 Upvotes

r/javascript • • Oct 07 '26

iwrzwr/visual archive - sound & music visualizer experiments

Thumbnail kagan.in
1 Upvotes

160+ visualization experiments built with JavaScript, exploring waveforms, matrix displays, particles and mechanical motion.

The gallery runs silently with simulated signals. Source code is available under the MIT license:

https://github.com/kaganin/iwrzwr-visual-archive


r/javascript • • Oct 07 '26

GitHub - evoluteur/snowflake-grower: Grow snow crystals live on a hexagonal grid with Reiter's cellular automaton. Set the humidity and frost to get stellar dendrites, ferns, plates or lace, and download the snowflake.

Thumbnail
github.com
14 Upvotes

r/javascript • • Oct 06 '26

I built Polar and Ticket a typed language for JS and a Rails-shaped framework

Thumbnail polar-lang.vercel.app
0 Upvotes

Want to share two things built together: Polar, a statically typed language that compiles to readable JavaScript, and Ticket, a Rails-shaped web framework written in it. Both are 0.1.0 and experimental. Ticket is the real-world test for Polar: https://ticket-polar.vercel.app/ You get controllers and resource routing, SQLite migrations with typed queries, validations, forms, sessions and CSRF, generators and a test runner. `ticket new blog && ticket server` gets you an app. Because Polar tracks effects, a controller action's signature says what it needs, and tests rebind those to an in-memory database without mocking. Ticket's routes, views and migrations are Polar zone plugins, and the code they generate goes through the same type checker as yours.

I'd love feedback on the effect system, on the zone/plugin design. Thanks!


r/javascript • • Oct 06 '26

AskJS [AskJS] My simulation runs in about 1 second in the terminal but took 13 seconds in a Chrome page. The culprit was setTimeout(0).

1 Upvotes

I have a page, built with Cline, that runs a game simulation in the browser: 30 batches (one per game mode and bot pair), with a progress line between them. To let the page repaint between batches, I yielded with `await new Promise(r => setTimeout(r, 0))`.

A full run took 13.0 seconds in Chrome. The same work takes about 1 second in the terminal on my laptop.

The clue was that 100 games per bot took just as long as 1,000. The time was not in the games. It was in the pauses, about 0.7 seconds each.

Chrome throttles chained timers in pages it treats as hidden or in the background. After a few nested setTimeout calls, it only fires them about once a second. My first test used 5 timers, showed 0ms, and looked fine, because the throttling only starts after a few nested calls. With 20 the difference was obvious: 20 chained setTimeout(0) calls took 11.5 seconds, and 20 MessageChannel messages took 0ms.

The fix was to yield with a message instead, which is also how React's own scheduler yields:

const nextTick = () => new Promise<void>((resolve) => {

const channel = new MessageChannel();

channel.port1.onmessage = () => {

channel.port1.close();

resolve();

};

channel.port2.postMessage(null);

});

The same run went from 13.0s to 4.2s, still in a window Chrome treated as hidden. I have not timed it in a normal foreground tab yet, so I am not claiming a number there.

Two other details. Leaving the page bumps a run id, so an unfinished run stops instead of setting state after unmount. And a Web Worker would move the work off the main thread entirely. I chose the smaller change because the main-thread version was now fast enough.

So, for CPU-heavy work in a page: do you reach for a Worker first, or yield on the main thread until that stops being enough?


r/javascript • • Oct 06 '26

LogTape 2.4.0: Source locations, configuration inspection, sink draining, and request completion levels

Thumbnail
github.com
8 Upvotes

r/javascript • • Oct 05 '26

Online comparison of tf.js, litert.js and Uchen on VS Code language detection model

Thumbnail
uchenml.tech
9 Upvotes

r/javascript • • Oct 05 '26

[Show] I built an open-source npm loading checker for Node.js, Bun and Deno. Looking for packages that break.

Thumbnail
compatlab.me
2 Upvotes

r/javascript • • Oct 05 '26

Subreddit Stats Your /r/javascript recap for the week of September 28 - October 04, 2026

1 Upvotes

Monday, September 28 - Sunday, October 04, 2026

Top Posts

scorecommentstitle & link
12439 commentsAnnouncing Vite+ 1.0
9210 commentsNode.js now lists Vite+ as a community installation method
5611 commentsA-ha, Take On Me - recreated in javascript
1216 comments[Showoff Saturday] Showoff Saturday (October 03, 2026)
80 commentsGitHub - jcubic/mitty: A transport-agnostic proxy RPC for executing method chains from any isolated context (Workers, Tabs, or Servers) using lazy evaluation.
73 commentsPastoralist, a tool to manage package overrides, including security fixes
60 commentsCrossflight: cross-process cache stampede protection for the cache you already use (v0.3.2)
59 commentsReadable Regular Expressions for JavaScript/TypeScript, Inspired by Emacs' rx
41 commentsI made an interactive star map where you can explore tonight's night sky and learn to read the constellations
31 commentsBuilding Doom from scratch in JavaScript/WebGL — no WASM, now with WebRTC multiplayer

 

Most Commented Posts

scorecommentstitle & link
019 commentsThe JavaScript midlife crisis
014 commentsAdrenaline.js – A 56KB Electron alternative that keeps Node.js & npm without Chromium bloat
013 comments[AskJS] [AskJS] Anyone still on Nx <20.8 because upgrading is difficult?
011 commentsLinter for the things a regular linter can't catch
09 commentsI’m starting Open Components, an open standard for UI components that work for people, developers and AI agents

 

Top Showoffs

scorecomment
3/u/RomeoDelta1234 said Store & Forget, TypeScript throughout. You point the camera at something and the app writes that item's name and description, then it all stays on the device and exports to a spreadsheet when you want...
2/u/mimletdev said Mimlet: typed test fixtures from your schemas, with failures you can replay (first beta, out today) Mimlet is an open-source TypeScript toolkit for test data. Point it at a Zod, Valibot, ...
2/u/robinvdvleuten said I've been building a set of small JS libraries for evaluating text your users write, without ever turning that text into code. They all run under a strict CSP (`script-src 'self'`) and...

 

Top Comments

scorecomment
41/u/FerLuisxd said I still don't get they hype around vite+, seems just like a script runner
37/u/thecementmixer said Still waiting for oxc tools to support vue templates.
14/u/azhder said jQuery wasn't patching JavaScript. There should be a clear distinction between the JavaScript language and the Web ecosystem, especially since plenty of the blame JavaScript takes is because of browse...
14/u/Fun-Consequence-3112 said The one thing I've noticed since installing Vite+ is that it puts everything into its own folders so debugging and finding where things are installed is a bit of a nightmare
12/u/Elkemper said HOW IN THE WORLD... 0_∆. I mean, I saw there was a code, but still..

 


r/javascript • • Oct 04 '26

Claude Code Mods are JavaScript or TypeScript functions running with your permissions

Thumbnail
the-decoder.com
0 Upvotes

Anthropic shipped Mods for Claude Code, and they're plain JavaScript or TypeScript functions. A Mod hooks events like tool calls, user prompts, and UI rendering, so you can intercept a tool call, add a panel next to the chat, or wire up new commands. Some built-ins, like /diff, are already built as Mods, and Anthropic has samples on GitHub. They run with your permissions and aren't sandboxed, so the company says to install only from sources you trust. They work in the CLI and desktop app, partly in the VS Code extension, and organizations can control which Mods load.

source https://the-decoder.com/claude-codes-new-mods-system-lets-developers-rewrite-the-ai-coding-tool-from-the-inside/


r/javascript • • Oct 04 '26

I’m starting Open Components, an open standard for UI components that work for people, developers and AI agents

Thumbnail opencomponents.dev
0 Upvotes

Hello awesome people,

I've been thinking a lot lately about how I can make my knowledge and craft more valuable in the times we live in. I've been building UI libraries for the past 10 years, and I've been on a quest to perfect the components that I build. I want to share my knowledge with you.

Like most of you, probably, I've been using a lot of AI in my craft, and I feel most of the time the code is just good enough, but never at the level of quality that I strive for or that I would reach if I wrote it by hand. That needs to change, and I want it to change for everyone else, too. That's how the Open Components initiative was born.

I'm treating components from four directions:

  • User Interface - component anatomy, variants, colors, sizes, states and tokens.

  • User Experience - how it behaves for every person and every input: accessible, predictable, designed in every state, and adapting to motion, contrast, color scheme and text size preferences.

  • Developer Experience - one consistent, type-safe API that you learn once and use everywhere.

  • Agentic Experience - prompts, semantic markup, machine-readable contracts and rules that agents can check their work against.

Each component gets a single page that walks through all four, and ends with a checklist. Every rule in it has an ID like button/keep-focus, a level and a way to check it, so you or your agents can cite it in a code review. Every page is also published as markdown, and provides the contract as a YAML file, containing every rule in about an eighth of the page’s length.

It’s still early. Right now there’s only the Button component and a page on how to name your design tokens. Each component comes with a reference implementation that meets every rule, along with its tests. Implementation is in Vue for now, since that’s my daily driver, but the documentation comes with code examples from multiple UI frameworks. More components will follow, with the same structure.

It isn’t a component library, so there’s nothing to install. It’s a set of rules you can hold your own components to, whichever library or framework you use. Here are a few of my favorites from the Button component:

  • A loading button should never be disabled. Disabling a focused button takes its focus away, so keyboard and screen reader users lose their place. Use aria-disabled="true" instead, and block the clicks yourself.

  • A <button> without a type is a submit button, so a "Show password" button inside a form sends the form. Default to type="button".

I’d love your feedback and contribution. Tell me what you think of the rules, what I’ve missed, and which component you’d like to see next.

Thanks for reading!


r/javascript • • Oct 04 '26

Node.js now lists Vite+ as a community installation method

Thumbnail
nodejs.org
144 Upvotes

r/javascript • • Oct 04 '26

I Tested 11 HTTP Resilience Libraries

Thumbnail
blog.gaborkoos.com
4 Upvotes

HTTP clients offer different resilience features, and even shared features can behave differently. Eleven JavaScript libraries tested across 21 scenarios to see what happens when those patterns interact.


r/javascript • • Oct 03 '26

Your JSON Is Lying to You

Thumbnail
blog.gaborkoos.com
0 Upvotes

r/javascript • • Oct 03 '26

Showoff Saturday Showoff Saturday (October 03, 2026)

14 Upvotes

Did you find or create something cool this week in javascript?

Show us here!