Skip navigation
🌶️ Express is the new JQuery. Let me explain!
0:00 / 0:59

🌶️ Express is the new JQuery. Let me explain!

Ben Holmes

@BHolmesDev47K followers

Visit on X
380 likesDownloadOriginal post

74,559 views #WhiteboardTheWeb

🌶️ Express is the new JQuery. Let me explain! #WhiteboardTheWeb edition 115

31 Comments

Comments from the original post on X (Twitter)

  • Wes Bos's profile picture

    @wesbos

    Hono.js is the way forward here, uses all these standards and adds the nice route matching and shortcut response methods you'd expect from express. Works on every JS runtime

    95 likes

  • SaltyAom's profile picture

    @saltyAom

    @honojs is great, should try it out

    7 likes

  • Elliot Grey's profile picture

    @thesunabsolute

    For large scale apis, or micro services, I still prefer NestJs. Hono or fastify, for small scale stuff.

    4 likes

  • 😮‍💨's profile picture

    @malarkey_maniac

    And theres the fact that I didn't know Express was unmaintained until halway through personal project that used it

    3 likes

  • Yadiel's profile picture

    @hernan_yadiel

    @fastifyjs is also a modern, faster and complete alternative to Express

    3 likes

  • Ben Holmes's profile picture

    @BHolmesDev

    @fastifyjs I had two choices: Name drop Hono, get fastify comments Name drop fastify, get Hono comments They're both great but I picked what I know 😅

    3 likes

  • StackJo's profile picture

    @stackjo

    @hernan_yadiel @fastifyjs Why not name drop both

  • Ben Holmes's profile picture

    @BHolmesDev

    @itsmebunk @hernan_yadiel @fastifyjs I wanted a code example and only have 60 seconds 😡

    1 like

  • shabab al ashq's profile picture

    @abdulachik

    good point, i like fastify more though

    2 likes

  • Emmanuel LD's profile picture

    @its_hebilicious

    There's 3 options I like : - Hono - H3 - Hattip There's a bunch of new options popping up in the deno and bun ecosystem too !

    2 likes

  • Kevin Whitley's profile picture

    @kevinrwhitley

    If you want even more flexibility (and fewer bytes), there's also the 450 byte itty-router. Also less opinionated, gives you 100% control of the flow, and route code is even shorter. But if hono fits your style (more express-like), highly recommend it!

    2 likes

  • Fardeem's profile picture

    @FardeemM

    This is lovely! One of the benefits of standards is that Request Response is now portable across environments

    2 likes

  • Rex E.'s profile picture

    @ken_t_rex

    I wrote some logic that lets you use Request and Response within Express for use with @nextauthjs’ new Auth handler. I think it’s great that node libs like Auth.js are converging on these Web API standards. Thanks for the breakdown of the possibilities!

    2 likes

  • Eddy Vinck's profile picture

    @EddyVinckk

    How’s Typescript support for Hono?

    2 likes

  • Ben Holmes's profile picture

    @BHolmesDev

    Fantastic! It even has type inferencing for params based on the endpoint: get('/users/:id', (c) => c.params // typed as { id: string }

    5 likes

  • Eddy Vinck's profile picture

    @EddyVinckk

    Very nice 👌

  • Mohamed Yamani's profile picture

    @yamanidev

    I have great expectations for @fastifyjs at this point :)

    2 likes

  • Mohammed Gazi's profile picture

    @iammdgazi

    Such an amazing explanation one of the best I have seen on this topic ✨️

    1 like

  • Yuvaraj's profile picture

    @YuvarajMadineni

    What do u make of NestJs

    1 like

  • @brianleroux@indieweb.social 💙's profile picture

    @brianleroux

    Is backend JS runtime portability really possible (like once you get things like AWS involved) or desirable and whyyy

    1 like