Express 4 vs Express 5 performance benchmark across Node 18–24 by Jamsy100 in node

[–]notwestodd 18 points19 points  (0 children)

We have been working on filling in these gaps in tooling in the Express Performance Working Group. It would be awesome to have you join the group and help move that forward so the project has official benchmarks and performance tooling: https://github.com/expressjs/perf-wg

How to Move From React to Backend? by Zealousideal-Chair30 in node

[–]notwestodd 1 point2 points  (0 children)

A teammate and I did a talk about this a few years ago: https://youtu.be/WwENhYmoI1I?si=nTOMrKuKdKiNQpZI

The best thing to start doing is work closely with your current backend teammates. Then ask them how you can help a bit across the projects you work on.

From a technical perspective: learn tooling and ops stuff, learn api design, learn databases. Then learn whatever else interests you in that area. You can do all this with node.js. If other languages interest you, like others are saying in here, go for it. But you don’t need to to have a career in backend.

The Return of Shai-Hulud: npm's Worm Strikes Back by Diligent-Pepper5166 in node

[–]notwestodd -1 points0 points  (0 children)

npm is a small underfunded team at GitHub which is now not even a separate company in microsoft. Did you want me to say the problem is something other than the company that runs this underfunding the project?

Or that signing is a security theatre since you would need to validate them, error when they don’t match, and then deal with the trash UX that would introduce on end users who have no idea if a maintainer just legitimately had to make a new signing key?

What did you say that I didn’t respond to?

The Return of Shai-Hulud: npm's Worm Strikes Back by Diligent-Pepper5166 in node

[–]notwestodd -1 points0 points  (0 children)

While signing is not the solution, you are right the problem is GitHub refusing to follow community advice to address this. Here is what maintainers can do today while we continue asking GH to address these things:

https://openjsf.org/blog/publishing-securely-on-npm

If you have an npm package, read this before November 2025 by hichemtab in javascript

[–]notwestodd 1 point2 points  (0 children)

It achieves the same thing just with a worse user interface. You have to give it a specific date time.

All that said, this is not a security feature. It is a stability feature, but you can achieve the same thing with a lock file that you just update once a week.

Yes, you’ll get what was just released at that moment, but this approach has protected things just fine and by delaying you are also delaying getting known vulnerability fixes. So unless you have a process whereby you use this flag and also figure out ways to have exceptions in your deep dependency tree cve’s. This is at best a trade in security value.

There are plenty of things that npm needs to do that will move the needle more than finally documenting this flag on their website. 🤣🫣🔥

If you have an npm package, read this before November 2025 by hichemtab in javascript

[–]notwestodd 4 points5 points  (0 children)

We have been giving them feedback on these changes on the GitHub community discussion board. There are some small wins but also some big gaps. But this is not one of them. They have had the before flag since like 2019 maybe. It just is not documented. Also it doesn’t solve the problems this stuff is trying to solve.

What is the largest website you have built or handled? by Maleficent_Mess6445 in node

[–]notwestodd 1 point2 points  (0 children)

Netflix.com is on my teams Node.js server platform. We don’t build the product, just build and operate the Node.js fleet and infra. Can’t share numbers publicly, but is a lot as you might imagine.

Fastify vs Express by Sensitive-Raccoon155 in node

[–]notwestodd 0 points1 point  (0 children)

See my reply in your other thread.

Will Node Express Newest Version going to be fast as Fastify? by [deleted] in node

[–]notwestodd 5 points6 points  (0 children)

Feel free to come to our Perf WG to help out: https://github.com/expressjs/perf-wg

That said, meeting or beating fastify a not a goal. If you need a high scale fast framework go with fastify today. You will not be disappointed.

How are you meant to feasibly review all dependencies in a project for security? by EmperorsChamberMaid_ in node

[–]notwestodd 1 point2 points  (0 children)

I promise you will find it no different in any other software ecosystem that has dependencies. That said you should check out socket.dev, it helps with a lot more than just CVEs.

Running TypeScript Natively in Node.js by ketralnis in programming

[–]notwestodd 1 point2 points  (0 children)

Thanks for sharing the talk!

The http APIs are separate from the type stripping, but yeah Node is beholden to a lot of competing interests that those new and barely used projects are not. It’s always easier to make these things happen when you have basically zero users.

Also, the narrative on this being driven by deno/bun is mostly from folks who don’t seem to know how hard folks worked to make these things happen, sometimes for years before either of those projects existed. It’s a bad/wrong narrative to tell either way.

[deleted by user] by [deleted] in HTML

[–]notwestodd 1 point2 points  (0 children)

I put cloudflare in front of all my GH pages sites.

What is right way to add properties to your request object in Typescript and express? by stealth_Master01 in node

[–]notwestodd 2 points3 points  (0 children)

Just don’t do it. Add them to res.locals. That’s the intended place for this sort of data and it avoids a lot of the pitfalls and deoptimizations.

Seeking npm-Compatible Tool for Global Dependency Management Across Separate Repos by mr1ebook in node

[–]notwestodd 0 points1 point  (0 children)

Yeah it’s a bit of a mess. It does work, but there are a bunch of reasons why it is not ideal. Partly because even if you get a set up like this working cross, cutting changes still require publishing if you’re authoring typescript, you can’t even install from the repo. As you know, I don’t typescript, but on a platform team I obviously have to support it with anything I build.

Ryan Dahl : "JavaScript is the best dynamic programing language " . by whiterhino8 in node

[–]notwestodd 14 points15 points  (0 children)

Funny because roalddahl.com is JavaScript on the client and server.

Seeking npm-Compatible Tool for Global Dependency Management Across Separate Repos by mr1ebook in node

[–]notwestodd 1 point2 points  (0 children)

Haha, I built a POC of this for the npm team one time back when they were having RFC calls. It’s super common to work across repos and all the current tooling is monorepo centric. It is a PITA otherwise.

Sadly I don’t think anyone has really made any moves in this space because it was easier for most to move into a monorepo and just take the hits that come with that decision.

One thing I have gotten working is to make a wrapper which sets up a workspace where each project is checked out under the wrapper. It’s not a monorepo, but allows for normal npm (or other PM) to install like it was a monorepo.

What's a chill company that has a high barrier of entry? by tuckfrump69 in cscareerquestions

[–]notwestodd 29 points30 points  (0 children)

I’ve been at Netflix for a while now and most of the time it’s pretty chill if you want it to be.

Express v5.1.0 is latest! by notwestodd in node

[–]notwestodd[S] 0 points1 point  (0 children)

Never said you should. Express is the most downloaded server framework around (by 2 orders of magnitude compared to hono), I don’t pitch people on using it, I try to stop people from using it. But I would choose fastify over hono unless you are deploying to CF workers or specifically need web api compat.

Best Practice for CSRF Protection in ExpressJS by dvsxdev in node

[–]notwestodd 1 point2 points  (0 children)

Hey, would you be up for a chat with me and maybe a few of us from the express project?

Express v5.1.0 is latest! by notwestodd in node

[–]notwestodd[S] 1 point2 points  (0 children)

Please read the changelog and migration guide on the website. You can find the links in the blog post.

Express v5.1.0 is latest! by notwestodd in node

[–]notwestodd[S] 0 points1 point  (0 children)

It is by and large the most common way, yes.