When it comes to modern web development, simplicity, speed, and adaptability are the new cornerstones. Enter Hono.js, a minimalist yet powerful fra...
For further actions, you may consider blocking this person and/or reporting abuse
Looks like 1000 things before, a clone of a pure node based api wrapper. Seems like a pretty basic implementation, doesn't seem to allow enforced hierarchical routing, routes are burried in a func. Not sure why anyone would pick this over express, if nothing more than by comparing documentation and proven use cases. What does it have to offer over the other clones, hard objective numbers... the words in bold in the article are marketing terms... unless you can prove it has better "efficiency, scalability, and modernity" than all others... good luck 🤣.
I used hono like a year ago and I think if all you want is to target a Node.js server you are indeed better off with express (or even better something like Fastify).
Hono shines when you want to decouple from the runtime. For instance, if you want to run today on Cloudflare Worker, tomorrow on AWS Lambda and next week on some other platform that may not have a full Node.js runtime then hono is useful. It brings those platforms into a common API. You build once and the adapters guarantee that it can be shipped to those.
That's also why it is being used by many frameworks as the working horse underneath. It is an abstraction over the potential deployment targets.
I used it because it is only framework that worked with ssr jsx out of the box.
Let me tell you what friend. Nothing is taking on expressjs anytime soon. Especially with v5 out and in active development and v4 getting infinite support cycle.
Only thing that competes with expressjs's pros are frameworks like NestJs and Fastify. Or just go with GoLang.
You're absolutely right Express.js is a powerhouse, especially with v5 and its strong community support. Hono.js isn’t here to replace Express but to offer a lightweight, edge-native solution for platforms like Cloudflare Workers and Deno.
Frameworks like NestJS and Fastify are fantastic too, but Hono.js shines for performance-critical, modern environments. It’s all about the right tool for the job!
alternatif expres.js fast get resfull api , like this
Exactly! Hono.js is indeed a lightweight and super-fast framework that works great for building RESTful APIs, especially when performance and speed are critical. I'd love to hear about your experience with Hono.js if you've used it!
Take your TypeScript skills to new heights with "Mastering TypeScript Core Utility Types":
📖 Buy on Leanpub
📖 Buy on Amazon
Puny sales. No one gonna buy/subscribe your product if your approach is not natural
Got it, thanks for the feedback! 🙏
Looks promising. Let's see
Totally! 🚀
Hono.js is like fastapi in pythons
Correct?
Yes, Hono.js is similar to FastAPI in Python; both are lightweight, high-performance frameworks focused on building APIs quickly and efficiently. Hono.js is for JavaScript/TypeScript, while FastAPI is designed for Python.
One year ago, I developed Scrum Planning Poker using Hono, deploying the backend on Cloudflare Workers and it worked flawlessly!
Awesome! It's great that you shared your experience with us. 🙌
Expressjs clone l
I just learned Vite and React, don't do this to me... Lol.
Don't worry It's just another tool in the toolbox for different use cases. Keep rocking Vite and React!
I'm still clueless on how to implement my favourite frontend framework so... nope, I have no interesting atm.
I totally get it! Take your time, you'll figure it out step by step. No rush, it’ll click when the time’s right!
Looking forward to use it for one of my hobby projects.
That’s awesome! Hope it works out great for your project. 😊
GOOD! Soon, we are going to work with Deno 2 and the framework to run will be HonoJS, is a new thing and the new and MODERN workfload is the way to go ;). Here we work with C# (Razor Pages / MVC for enterprise level / client's poject "), the most workfload to almost all withgs is a combination that has AstroJS in everything because the simple and optimized way from it:
Astro + Alpine (all static and basic things where CSS + Alpine can afford with basic integrations)
Astro + HTMX + Alpine (when simple server is needed for a determined project)
Astro + HTMX + Svelte / Qwik "in Astro Island " (when the bigger need of interactivity by JS is really needed)
Deno 2 + Honor will be a grreat tool to add to our workfload and I can't wait to try it for the next weeks.
Obs.: for all those like us that settled up Astro like "the" framework tool, with Deno 2 you can go with the Astro Projects without need to touch Node ;) I hope Honor focus in Deno 2 because developers that appreciate a modern workfload will go with Hono to work with Deno 2 ... We are searching and analysing all frameworks to choose the best to work with Deno 2, Typescript is our way to go, there's no JavaScript thinking in the company, Hono and Deno seems like the obvious couple, Deno righ now is getting a new way to play Tyepescript, but now is too late, the company is now focusing in modern web development tools. Even with the .NET workload the modern Razor Pages is the standard way for us to begin project, MVC is only used to specific's project, like with Astro when interactivity (massive dynamic) is need the company way is Svelte in Astro Island and now we are training to use Qwik, a steeper learning courve instead React(I always preffered Svelte instead react), I used to work with sveltekit and love it until I met Astro that "if" need, I can use Svelte in Island, only what is need to accomplish the job), but I am impressed with Qwik, but was my first touch with it, I am still reading the specs, next three weeks before ending the month (december) I already will have a deeper undestanding about Qwik in truth.
Cheers up! To modern Develop \o/
Cheers up! To Deno 2 that really deserves in version 2, must continue focus on modern workload
Cheers up! To Hono, to make a perfect couple with Deno (continuing to work hard with DENO 2)
obs.: a possible Cheers up! for Astro Team (I guess maybe if they don't, some others can create soon one likely to benefit the modern technology, where a JS world with frontend frameworks change constantly, we need to get updated in our skills) to rebuild Astro using Deno 2 instead Node lol ....
Great another garbage piece of pet code.