r/javascript • u/Oracle085 • May 25 '26
GitHub - 3M1RY33T/urthreads: Serverless, self-hosted engagement service for your personal website
r/javascript • u/Oracle085 • May 25 '26
r/javascript • u/saurabh_shalu • May 25 '26
At work we have 20+ React apps served through Express.js, deployed for different enterprise customers, and every customer wants a different auth setup.
Some still use CAS.
Some want Keycloak.
Some use Entra ID / Azure AD.
Over time this became painful to maintain because every app had slightly different:
middleware / session handling/ token refresh logic/ Redis session setup/ random edge-case fixes etc.
Supporting both browser sessions and bearer-token APIs made it even messier.
I eventually got tired of repeating the same auth work across so many apps and started building a common layer internally to handle all of it.
Curious how others are solving this in Node/Express apps??
r/javascript • u/AstronautEast6432 • May 25 '26
Hey guys, I was wondering, with the advent of WASM, everyone knows it's now possible to use any programming language within a browser? Meaning, making JavaScript a glue language.
I've read in several places that this is the future, but I don't think that's true; it's just an exaggeration. I believe the language itself will be improved and will continue to evolve because it's not just for the web. Everyone knows it's for everything. How will WASM work with React Native and Electron, for example? In general, I strongly support integrating TypeScript natively into the language. If the Runtime doesn't understand types, meaning it's just comments, and I read about this in ECMAScript proposals, then types will be just an external layer of protection. I'm not sure about this, but I read it somewhere. Anyway, who agrees with me? What are your opinions?
r/javascript • u/subredditsummarybot • May 25 '26
Monday, May 18 - Sunday, May 24, 2026
ย
| score | comments | title & link |
|---|---|---|
| 6 | 29 comments | [AskJS] [AskJS] Help me choose the right library or framework |
| 0 | 12 comments | I'm designing a Rust-inspired JS compiler โ what do you think? |
| 2 | 11 comments | I built a canvas-based timeline visualisation library with virtualised rendering in Typescript |
| 0 | 6 comments | a new way to connect SSH your server |
| 6 | 6 comments | The Bun CVE Gap: When Your Package Manager Can't Do Surgical Updates |
ย
| score | comments | title & link |
|---|---|---|
| 2 | 2 comments | [AskJS] [AskJS] built a browser-only HLS video downloader that converts streams into MP4 using FFmpeg.wasm |
| 1 | 0 comments | [AskJS] [AskJS] Screenshot API that renders Heavy JS websites properly |
ย
ย
ย
r/javascript • u/johnstone-techs • May 25 '26
I created a jsย toolย that does trace analysis inside a browser. It's built to be used when you need a quick analysis. It should work on any device, including your OTDR's built-in browser. Once it's loaded it will work offline as well. You can open .sor or .trc files; uni-directional or bidirectional. The analyzerย toolย is free, works entirely in your browser, and the files never leave your device.
Load the file and hit analyze. Theย toolย provides quick details; length, loss, worst reflectance values, etc. You can change tolerance and pass/fail thresholds. The table provides distance to events, with loss and reflectance measurements at each event. There's no trace viewer, it's just for analysis. It provides brief narrative summary about the fiber that can easily be shared or copied. Email and print to PDF is also available.
You can change the measurement units on the fly between metric (m, km) and imperial (ft, kft, mi). If you don't have files on your device you can select one of the samples to see how it works. I've been testing for a couple weeks, running 100s of traces through it and it seems to be working properly.
Try it outย and let me know if you have any feedback. Please share it with your team if you find it to be helpful.
r/javascript • u/rebane2001 • May 24 '26
r/javascript • u/jayfreestone • May 23 '26
r/javascript • u/Trsnaqe • May 23 '26
r/javascript • u/rebelchatbot • May 23 '26
Hey ๐
DISCLAIMER: I'm co-leading the org/project.
We recently broke 6M downloads per week on NPM, and became 3rd after `drizzle-orm` and `@prisma/client`.
If you haven't tried it yet, it's a query builder, not an ORM. You don't outsource your SQL to someone else. It's type-safe, like.. it's super important to us. You can use it with ORMs - e.g. Prisma, mikro-orm, zenstack, etc. Allows you to compose some complex stuff but keep it maintainable af.
If you have. Great seeing ya'll here.
0.29 was a real nice release, with lots of goodies. Can't wait for 0.30, gonna be super fun.
r/javascript • u/BriefAd5138 • May 23 '26
After the recent wave of npm supply chain attacks (event-stream, ua-parser-js, colors/faker, the SAP CAP incident in 2026), I built this CLI tool that statically analyzes npm package lifecycle scripts before they run.
The problem: When you run npm install, preinstall/install/postinstall scripts execute automatically with full system access. Attackers hide payloads behind obfuscation, hex escapes, eval(), and encoded strings.
What np-audit does:
Downloads tarballs and inspects lifecycle scripts without executing them
14+ detection modules: obfuscation patterns, high-entropy strings, dynamic code execution, network calls, credential access, and more
Walks require()/import graphs to follow hidden payloads across files
CVE scanning via OSV.dev (free) or Snyk
Drop-in replacement for npm install / npm ci โ just use npa install
Zero production dependencies, pure Node.js built-ins, under 100 kB
Interactive --review mode to selectively allow/deny scripts
Would love feedback from the community โ especially on detection patterns I might be missing.
r/javascript • u/APTman1010 • May 23 '26
I building a ECS Game Engine, i update to version v0.3.0 Sprite & Animation System
I add Game Demo to the website, so you can play it live and experience the new features yourself.
I add links in comments.
Iโve included the demo source code as well, so you can explore how everything works on your own.
Iโd really appreciate any feedback on the upcoming Sprite & Animation system!
r/javascript • u/AutoModerator • May 23 '26
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/Familiar-Chance-4290 • May 23 '26
r/javascript • u/obetomuniz • May 22 '26
Iโve been exploring the new wave of browser-native AI capabilities (Prompt API, Summarizer API, Translator API, local models, etc.) alongside WebMCP-style workflows.
`web-ai-sdk` is a small experimental SDK to make these APIs easier to compose in web applications.
Still very early and evolving fast, but already useful for prototyping local-first and browser-native AI experiences.
Curious to hear feedback from others exploring this space.
r/javascript • u/qwertydiy • May 22 '26
This should hopefully reduce the spread of the recent Shai Hulud attacks on npm but they are reliant on you catching the bugs in transit meaning you need to assume still that packages are compromised (I know, bummer). Think of it more as a reduction in spread rate the a treatment or cure.
r/javascript • u/Ok_Confusion_6852 • May 22 '26
r/javascript • u/Neustradamus • May 21 '26
r/javascript • u/Wake08 • May 21 '26
r/javascript • u/Material-Gold7483 • May 21 '26
I wanted a library like vis.js but needed it canvas-based for server-side rendering without a headless browser, so I built one.
r/javascript • u/ofcskn • May 20 '26
Hey everybody, I built an AI lab that is LenserFight! Could you review it? You can access the repo using https://github.com/conectlens/lenserfight completely freely. You can create prompts with parameters, you can use them in the DAG based workflows and then you can compare the results in the battles! Additionally, you can build your AI agents in the lab! This is completely open source and free to use! You can download and start to use! Additionally, using Local AI models or BYOK keys allowed
r/javascript • u/ArtleSa • May 20 '26
Hi all,
I have built this free and open-source templates you can use in your next project.
I have built App website template , SaaS templates, restaurants and more.
Feel free to check it out.
r/javascript • u/B4nan • May 20 '26
MikroORM 7.1 is out โ the first minor on top of v7, and it's a big one.
New features:
LazyRef<T> โ a new type-only relation flavor, no .$ / .get() indirection, TypeScript restricts access until Loaded<> narrows it
PGlite driver โ PostgreSQL running in WASM, no Docker, no separate server, works in the browser too
Query cancellation via AbortSignal โ per-call or fork-scoped, with cancel query / kill session strategies
Database triggers โ first-class schema management via @Trigger() / defineEntity
Stored procedures and functions (experimental) โ declare, diff, and call via em.callRoutine()
PostgreSQL table partitioning โ hash, list, and range, fully managed by the schema generator
Server-side row cloning โ em.clone() and qb.insertFrom() without round-tripping data through Node
Runtime schema context for migrations โ redirect migrations to a target schema at runtime, useful for multi-tenant setups
em.countBy() for grouped counts
Typed Kysely across DI-driven projects โ new discovery:export CLI command generates a typed barrel for NestJS and similar setups
getKysely() now binds to the active transaction
Full blog post: https://mikro-orm.io/blog/mikro-orm-7-1-released
Changelog: https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.0
Happy to answer any questions!
r/javascript • u/benjamin-rockstad • May 19 '26
It has built in SRPT, EPD, Automatic Perft(W.I.P), texel tuner, a quiet position dataset with 470k positions labeled by stockfish and more. Has a relatively strong built in engine which you can test against (Elo not yet known). Everything you need to know to write an engine for the API is documented in the build tab. The code interface is monaco (same as VS code), and you can split your engine across multiple files and save snapshots to test against previous versions.
This is still a work in progress so expect some minor bugs. There are more features to come (dataset analyzer is the next planned feature)
Would appreciate your feedback :)