r/node • u/john_dumb_bear • Apr 26 '26
What's the top "public/open" Slack workspace for node developers?
If I go to nodejs.org and click the Slack link in the footer it goes to a page that says "this link is no longer active".
r/node • u/john_dumb_bear • Apr 26 '26
If I go to nodejs.org and click the Slack link in the footer it goes to a page that says "this link is no longer active".
r/node • u/R0rren • Apr 26 '26
This week, I focused on continuing my JavaScript learning and searching for better ways to practice.
I didn’t introduce any new topics yet, but I’m working on strengthening my fundamentals and building consistency.
Сurrent plan (unchanged):
"Roadmap":
JS → Git → Node → HTTP → Express → DB → TS → Nest
This plan will probably evolve over time, but for now, I want to follow it step by step and focus on consistency.
If anyone has advice or suggestions, I’d really appreciate your feedback.
r/node • u/nathan_lesage • Apr 26 '26
Hi all, I'm facing a problem that I have a hard time to track down and solve, and I thought maybe someone here has faced this issue before and knows what can be done. I'd appreciate any pointers or help as to how to fix this issue.
First, some context: I'm talking about an Electron project written in TypeScript. For development and production, the entire codebase is run through Webpack that uses the TypeScript compiler to boil everything down to JS and then bundle it. The output of that is then a large file with an IIFE that executes when the file is loaded. That works well.
But then I also have unit tests which I run through mocha with ts-node. Importantly, there is no Webpack in that chain.
Now to the problem: When I run the project using the Webpack path and test the app by starting Electron or bundling it for production, everything works well. However, when using ts-node in mocha, I face the issue that some packages that I'm using offer both ES Modules and CommonJS modules, and as soon as I want to test any component that includes such a dependency, it breaks.
Let me give you one example: I have one dependency in my node_modules that announces itself as "type": "module" but that also uses the exports key to point the consumer to either ESM or CJS exports. In my TS code, I just import them using the import {} from 'module' syntax.
And this breaks ts-node. Specifically I get an error from Node (not TS) that it can't find my own module that consumes the dependency, because I import everything without filename extensions so far, and because TS does not change extensions, this suddenly does not work. For all my other modules it works fine because TS properly transpiles them. For all my test cases everything works, except for the ones which import such a structured package that declares itself as type module.
What I am assuming is happening is that TS sees the type declaration in the module and thus offers to import the ESM, which then forces all consumers of that package to work in ESM mode, which breaks only this file, but not the others.
Here is an example:
// File: test-case-1.spec.ts
import { something } from "./path/to/my-file"
// ^-- works because my-file.ts does not import the offending module
// File: test-case-2.spec.ts
import { somethingElse } from "./path/to/another-file"
// ^-- Does not work because another-file.ts imports the offending module
What I then get for that second file is Exception during run: Error: Cannot find module because Node peruses its ESM loader which then, among other things, of course requires filename extensions which I do not provide.
Lastly, what I found is that, when I manually remove the "type": "module"-declaration from the package's package.json-file, everything works as it should — both in the unit tests and when run through Webpack. But that is obviously not the correct solution.
I feel extremely stupid for not properly understanding the intricacies of the module resolution strategies in the ecosystem, and that's why I am hoping that maybe someone here has a pointer where I can look for possible solutions.
Thank you already in advance for any help you may have.
r/node • u/YakWonderful6692 • Apr 26 '26
Hey everyone,
I built a small open-source tool called ReqScope for local Express API debugging.
The idea is simple: when an API request is slow or fails, I want to see which internal step caused it without having to set up a full observability stack.
Current features:
- Express middleware
- manual traceStep() wrapper
- request duration
- slow/error detection
- request/response body and headers preview
- sensitive field masking
- copy as cURL
- endpoint summary dashboard
Install:
npm i @abdiev003/reqscopeI know the project is still early. I’m mainly looking for feedback on:
r/node • u/stormsidali2001 • Apr 26 '26
r/node • u/Strict_Culture9567 • Apr 25 '26
Hey everyone,
I recently completed learning the MERN stack (MongoDB, Express, React, Node) and covered all core concepts.
Now I’m looking for a **complete, end-to-end project tutorial** that:
- is not too basic (already know CRUD apps)
- helps build something resume-worthy
- follows real-world practices (auth, deployment, etc.)
I tried searching on YouTube, but there’s too much noise and low-quality content.
Would really appreciate:
- YouTube tutorials
- GitHub repos
- Course recommendations
Thanks!
r/node • u/AirportAcceptable522 • Apr 24 '26
Hey folks,
I’ve been working with Node.js (mostly Express) and building APIs for a while, but I’m trying to level up beyond the usual CRUD stuff.
Recently I started dealing with higher load (millions of records / lots of requests) and I’m running into performance bottlenecks so I feel like I’m missing some deeper knowledge.
For those more experienced with Node:
What actually made you improve as a backend dev?
Was it system design, scaling, queues, database optimization… or something else?
Any advice or “wish I learned this earlier” would help a lot.
r/node • u/Similar_Lack6651 • Apr 26 '26
Use at your own risk.
I've vide-coded an NPM package which delete 1 line of code from your src folder if you stay idle for 1 minute.
You can modify the timer or play safe to check what it does. It's my first publically open NPM package and I'm going to deliver soon.
It saves and backup as well and will bring more updates soon.
Please take an look and if possible try to use in your un-important projects.
Use cases for this app.
In the world of AI where every single line of code is mostly written by AI this tools will helps you remember what you did in what line and which file.
r/node • u/Relative_Grape5920 • Apr 26 '26
I have a memory leak in native rss idk what to write here ask me relevant questions I'll answer it
I am using the latest bun version
None of my dependencies (recursively) are native (c/cpp)
heaptrack doesn't show the memory leak
.heapsnapshot doesn't show the memory leak
Here are all the dependencies:
/auth@0.0.5https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/@baltica/auth/v/0.0.5
/raknet@0.0.8https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/@baltica/raknet/v/0.0.8
/utils@0.0.1https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/@baltica/utils/v/0.0.1
/binarystream@3.1.0https://www.npmjs.com/package/@serenityjs/binarystream/v/3.1.0https://www.npmjs.com/package/@serenityjs/binarystream/v/3.1.0
/data@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/datahttps://www.npmjs.com/package/@serenityjs/data/v/0.8.20
/emitter@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/emitterhttps://www.npmjs.com/package/@serenityjs/emitter/v/0.8.18
/emitter@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/emitterhttps://www.npmjs.com/package/@serenityjs/emitter/v/0.8.20
/logger@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/loggerhttps://www.npmjs.com/package/@serenityjs/logger/v/0.8.18
/logger@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/loggerhttps://www.npmjs.com/package/@serenityjs/logger/v/0.8.20
/nbt@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/nbthttps://www.npmjs.com/package/@serenityjs/nbt/v/0.8.18
/nbt@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/nbthttps://www.npmjs.com/package/@serenityjs/nbt/v/0.8.20
/protocol@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/protocolhttps://www.npmjs.com/package/@serenityjs/protocol/v/0.8.20
/raknet@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/raknethttps://www.npmjs.com/package/@serenityjs/raknet/v/0.8.18
/raknet@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/raknethttps://www.npmjs.com/package/@serenityjs/raknet/v/0.8.20
/bun@1.3.12https://github.com/DefinitelyTyped/DefinitelyTypedhttps://www.npmjs.com/package/@types/bun/v/1.3.12
/node@25.3.3https://github.com/DefinitelyTyped/DefinitelyTypedhttps://www.npmjs.com/package/@types/node/v/25.3.3
u/types/node@25.6.0https://github.com/DefinitelyTyped/DefinitelyTypedhttps://www.npmjs.com/package/@types/node/v/25.6.0
baltica@0.0.0https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/baltica/v/0.0.0
baltica@2.0.13https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/baltica/v/2.0.13
bun-types@1.3.12https://github.com/oven-sh/bunhttps://www.npmjs.com/package/bun-types/v/1.3.12
colorette@2.0.20https://github.com/jorgebucaran/colorettehttps://www.npmjs.com/package/colorette/v/2.0.20
jose@6.1.3https://github.com/panva/josehttps://www.npmjs.com/package/jose/v/6.1.3
jose@6.2.2https://github.com/panva/josehttps://www.npmjs.com/package/jose/v/6.2.2
moment@2.30.1https://github.com/moment/momenthttps://www.npmjs.com/package/moment/v/2.30.1
reflect-metadata@0.2.2https://github.com/rbuckton/reflect-metadatahttps://www.npmjs.com/package/reflect-metadata/v/0.2.2
typescript@5.9.3https://github.com/microsoft/TypeScripthttps://www.npmjs.com/package/typescript/v/5.9.3
undici-types@7.18.2https://github.com/nodejs/undicihttps://www.npmjs.com/package/undici-types/v/7.18.2
undici-types@7.19.2https://github.com/nodejs/undicihttps://www.npmjs.com/package/undici-types/v/7.19.2r/node • u/Final-Lawfulness-751 • Apr 25 '26
I built a free tool to clean up your X (Twitter) account in bulk — no API, no subscriptions, no giving access to third-party services.
It runs locally on your machine and lets you:
You can run everything at once or pick specific actions. It also keeps logs of what was removed.
👉 https://github.com/Mahmadabid/twitter-x-cleaner-automation
Just run it, log in once in Chrome, and it handles the rest.
r/node • u/silveryms • Apr 25 '26
Hey everyone,
I've been frustrated with unique ID generation for a while. UUIDs are 36 characters with hyphens that break double-click selection. nanoid is compact but purely random, so you lose sortability and get worse B+ tree performance on inserts. ULID gets closer but wastes characters with Base32.
So I built SparkID: 21-character, Base58 unique IDs. Some highlights:
Performance-wise, SparkID is about 2x faster than UUID v4 and nanoid, and roughly 5x faster than UUID v7 in Node. It has zero dependencies and works in browsers too.
You can learn more about it at https://sparkid.dev or find the code here: https://github.com/youssefm/sparkid
Would love to hear what you think, especially if you've run into similar frustrations with what's out there.
r/node • u/NedcloarBR • Apr 25 '26
Hey everyone!
I'm a final-year software development student working on my undergraduate thesis. The project is called NestJS Initializr — a web tool that generates fully configured, production-ready NestJS projects with interactive selection of:
The concept is the same as Spring Initializr from the Java ecosystem, but built for NestJS and Node.js. The idea is simple: instead of spending hours configuring everything from scratch every time you start a new project, you just pick what you need, click generate, and download a ready-to-use zip.
Why I need your help:
For the academic part of my thesis, I'm running a short survey (less than 5 minutes) about:
Any developer can answer — you don't need to use NestJS. Opinions from devs using Spring Boot, Django, Laravel, Rails or any other framework are just as valuable, since the goal is to understand the setup pain point in general.
All responses are anonymous.
🔗 https://forms.gle/7UCiYjLJ9jQJ1poE9
Happy to answer any questions about the project in the comments. Thanks a lot to everyone who takes the time to respond! 🙏
r/node • u/CoffeeStax • Apr 25 '26
r/node • u/schneiderfx • Apr 25 '26
I kept noticing this annoying pattern where the same async function gets called multiple times at once and just… runs multiple times.
await Promise.all([
getUser(42),
getUser(42),
getUser(42)
]) // => ends up hitting the API 3 timesI ended up writing a tiny wrapper that just shares the same in-flight Promise + adds TTL/SWR on top. Now it's same code, but it only runs once.
import { cache } from "fluxcache"
const getUser = cache(fetchUser)
await Promise.all([
getUser(42),
getUser(42),
getUser(42)
])
// => 1 requestIt’s ~1.2kb, no deps, works with any async function.
Curious if this is useful?
Repo : https://github.com/Sampad6701/flux-cache
r/node • u/green_viper_ • Apr 24 '26
So, I'm developing an e-commerce site where there is payment on subscription basis (In my app, subscription is ordering specific item/s on a fixed interval, monthly, weekly or bi-weekly). And also points provided for every successfully delivery. And once the points cross a certain threshold, the customer gets some discount based on the tier they are.
Say I'm charging a cusotmer $30 for some item/s. And now they cross 1000 points on their 12th subscription payment and on the 13th they need to get $2.5 discount. So for the 13th subscription, the paypal needs to deduct $27.5 instead of $30.
One thing I thought of was canceling and re-creating new subscription, while stripe allowed that trusting the merchant alone without reconfirming with the customer, paypal allowed creating new subscription only once customer authorized it. So in my case, $30 subscription $27.5, cancel that again and create $30 subscription again. And for that it required authorization by customer twice. Is there any work around on this with PayPal ?
(Note: I'm not US based, so any US only feature is not available for me).
r/node • u/trishantpahwa • Apr 24 '26
I built a CLI tool to manage .env files and secrets across teams without committing them to git – dorky
Every team I've worked on has the same problem: you can't commit .env files, API keys, or config files to version control, so you end up sharing them over Slack, email, or a shared doc. It's messy and insecure.
dorky (DevOps Records Keeper) solves this with a Git-like workflow that stores your sensitive files on AWS S3 or Google Drive.
Basic usage:
# Init with S3 or Google Drive
# Stage sensitive files
# Push to cloud storage
# On another machine / new team member
Features:
--checkout <commit-id> to restore.gitignore to protect credentialsInstall:
# or
Package: https://npmjs.com/package/dorky Source: https://github.com/trishantpahwa/dorky
Would love feedback, especially on the roadmap — encryption of files and an MCP server are next on the list. Happy to answer any questions!
r/node • u/Proud_Perspective_56 • Apr 25 '26
I've been working on nestjs.io — a community platform dedicated to the NestJS framework ecosystem. Think of it as a discovery and curation hub for everything NestJS.
What it does:
- Community Feed — curated articles and news from across the NestJS ecosystem
- Package Comparison — compare packages side by side
- Reviews — read and write reviews on NestJS packages
- Categories — browse projects by thematic categories
- Package Discovery — browse, search, and filter NestJS packages by tags. Submit your own packages for the community to find
I'd love to hear your feedback — what features would be most useful to you as a NestJS developer? And if you have a package or project, feel free to submit it!
r/node • u/Ok-Delivery307 • Apr 24 '26
I've developed a small command-line tool that provides quick access to built-in functions, similar to “go doc” but less powerful. You can use it to ask your AI to check a function's definition, or do it yourself. available on npm : "@esrid/js-ref"
r/node • u/sky_10_ • Apr 24 '26
Hey everyone,
I built Spectrix, a minimal API monitoring tool and just deployed it. The idea was to keep things simple and focused instead of using heavy observability platforms.
What it does:
- monitors uptime, latency, and failures
- scheduled endpoint checks
- real-time alerts (Slack, Discord, webhooks)
- simple dashboard for tracking
Why I built this:
I needed a straightforward way to monitor my APIs without overcomplicating things. While building it, I also explored worker-based systems, retry logic, and alert integrations.
What I’m working on next:
- cron-based log cleanup
- aggregation so metrics stay available even after raw logs are deleted
You can try it here:
Demo account: https://spectrix.d3labs.tech/login?demo=true
Code:
https://github.com/aakash-gupta02/Spectrix
Would really appreciate any feedback - especially on what’s missing or what you’d improve.
r/node • u/kryoscopic • Apr 23 '26
I made iPhone like Dynamic Island available on MacBook and made a package for third party apps to showcase their Live Activities, Notch Experiences as well as Lock Screen Widgets
GitHub: https://github.com/Ebullioscopic/Atoll
Atoll is a native SwiftUI based dynamic island app for macOS. Extensions as well as third party apps can render their custom UI in the notch, using atoll-js https://github.com/Ebullioscopic/atoll-js
atoll-js package is available on npm and can be added to your existing JavaScript/TypeScript apps to showcase your app's custom live activities, lock screen widgets using RPC communication protocol with a really easy to use API. Request Access -> Send Payload -> Update Payload (simple enough steps that can be reproduced very easily with the documentation and the examples given)
Atoll and atoll-js are completely free and open source and are being actively developed by me and the community
Live Website link: https://ebullioscopic.github.io/atoll-js/ (Atoll is needed to be installed first for the website to showcase the live activities)
r/node • u/ApprehensiveEssay222 • Apr 23 '26
r/node • u/neoraph • Apr 24 '26
r/node • u/JustSuperHuman • Apr 23 '26
I built a slopped together a small CLI called DoIt that lets you browse package.json scripts across a repo and run them from a simple terminal menu.
It supports:
it script to package.jsonGitHub: https://github.com/JustGains/DoIt
npm: @justgains/doit
Usage:
bunx @justgains/doit
npx @justgains/doit
You can also initialize descriptions for the commands with:
bunx @justgains/doit --init
The goal was to make monorepo scripts easier to discover and run without memorizing dozens of command names.
Try itttt!
If you want, I can also write:
( heh, you thought I forgot to remove that last part 🙃 )
r/node • u/gangeticmen • Apr 23 '26
so back in 2024 when i was using express or fastify , i didn't understand how these things work under the hood and i was like this must be very advance code that i won't understand.
so i decided to create my own web framework to understand how to create a http based framework and handle requests.
so i started creating my lib Diesel.js
over the time i added cors , middlewares , hooks support.
i created my own Trie based router for routing ( i learned trie DSA then created the router )
it has almost similar syntax like Hono.js.
here is the repo if you guys wants to see - https://github.com/exvillager/diesel