DEV Community

Cover image for 10 Trending Node.js Libraries and Frameworks to Boost Your Web Development

10 Trending Node.js Libraries and Frameworks to Boost Your Web Development

Rahul Ladumor on April 03, 2023

🚀 10 Must-Use Node.js Libraries and Frameworks for Modern Developers in 2023 Are you looking to improve your knowledge of Node.js develo...
Collapse
 
__al profile image
Info Comment hidden by post author - thread only accessible via permalink

Boring and out dated. Bad bot

Collapse
 
wisdomsamuel7 profile image
Wisdom-Samuel7

😔😔😔😴

Collapse
 
gabizz profile image
Gabriel Claudiu Maftei

good informative article. one observation, though... half of them are indeed reliable, but arguably "trending" ...

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you!

Collapse
 
msilvaspa profile image
Info Comment hidden by post author - thread only accessible via permalink

async.js -> promise (no lib)
axios -> fetch api (no lib)
winston -> pino (lighter and faster)
express.js -> fastify (more robust and express-middleware compatible)

Collapse
 
debojyotichatterjee9 profile image
Debojyoti Chatterjee

i prefer bunyan for logging though...

Collapse
 
pegasus4me profile image
Info Comment hidden by post author - thread only accessible via permalink
safoan.eth

article written by Chatgpt

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hey, this article seems like it may have been generated with the assistance of ChatGPT.

We allow our community members to use AI assistance when writing articles as long as they abide by our guidelines. Could you review the guidelines and edit your post to add a disclaimer?

Collapse
 
bert2go profile image
Bert Stahl

One request please. Instead of spamming the comments section with an assumption, you should probably contact the author directly.

Collapse
 
rahulladumor profile image
Rahul Ladumor

Sure!

Collapse
 
tracker1 profile image
Info Comment hidden by post author - thread only accessible via permalink
Michael J. Ryan

It's 2023… async is a reserved word and don't use async.js this way today. I'm guessing this "article" was written by a bot.

Collapse
 
mannyistyping profile image
Info Comment hidden by post author - thread only accessible via permalink
Manny

I appreciate the call out here.

I'm disappointed in what is being broadcasted to a larger audience as posts in similar styles and themes which are often low quality.

Collapse
 
c0mmand3rj profile image
James Batista

This is a good list.

I have found Async.js to be a very useful library for handling asynchronous operations in projects. The library provides a lot of powerful functions that make it easy to manage complex workflows and avoid callback hell. Its error handling and flow control features have also been incredibly helpful in ensuring the stability and reliability of my applications.

One of the things I appreciate about Async.js is its ease of use. The functions are well documented and simple to understand, which has allowed me to quickly implement them in code. The thriving community of Async.js is awesome and very helpful.

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you so much!

Collapse
 
maxharrisnet profile image
Max Harris

Thanks for sharing this. All of these picks give me a good starting point for working with Node.js. The code examples are a helpful touch as well. It's nice to see a sample without having to go to the docs.

Collapse
 
rahulladumor profile image
Rahul Ladumor

You're welcome! I'm glad to hear that the picks and code examples are useful for you. Node.js is a fantastic platform, and it's always great to have resources that simplify the learning curve. If you have any specific questions or need further examples, feel free to ask. Happy coding!

Collapse
 
andrewwebcoder profile image
Andrew-web-coder

Please, create a list of really fresh libraries, like Fancybox5

Collapse
 
rahulladumor profile image
Rahul Ladumor • Edited

Thank you for your suggestion! I will update accordingly.

Collapse
 
sanjayparmar277 profile image
sanjayparmar277

Nice article with usefull libraries, thanks for sharing. 😊

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you so much

Collapse
 
starboysharma profile image
Info Comment hidden by post author - thread only accessible via permalink
Pankaj Sharma

Feels like a bot write this article.

Collapse
 
amadujallow profile image
Amadu Jallow

Great work man

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thanks Man!

Collapse
 
kjsisco profile image
kjsisco

Wow, this is great info and I'm looking forward to diving in.

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you so much!

Collapse
 
mezieb profile image
Okoro chimezie bright

Nice thanks for sharing👍

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you!

Collapse
 
msamgan profile image
Mohammed Samgan Khan

hey guys, i create a sort of framework for the apis in node js, with express js.
have a look.

github.com/msamgan/expressjs-api-b...

Collapse
 
youngitunesog profile image
youngitunesog

Cool

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thanks!

Collapse
 
debojyotichatterjee9 profile image
Debojyoti Chatterjee

Good to see that Nest.js made it to the list...

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you for your input! Yes, Nest.js is an excellent framework for developing scalable, maintainable Node.js apps. It comes with a slew of essential features, like dependency injection, a module system, middleware, and more. It also has a fantastic community and ecology, with numerous plugins and extensions available. Have you ever utilised Nest.js in a project?

Collapse
 
wisdomsamuel7 profile image
Wisdom-Samuel7

Thanks Alot 🙏

Collapse
 
rahulladumor profile image
Rahul Ladumor

You're very welcome!

Collapse
 
hasanbakar profile image
Abu Bakar

Awesome

Collapse
 
tabbiehackett9080 profile image
Tabbie Hackett

Good information, thx!

Collapse
 
tiffanyahn profile image
tiFFanyAhn

great
thanks

Collapse
 
rahulladumor profile image
Rahul Ladumor

You're welcome!

Collapse
 
pashavuiko profile image
pasha-vuiko

Thank you for the article. The me mentioned packages are indeed trending but half of them I consider as obsolete or legacy.

For example Express.js is the slowest Node.js framework, Fastify is up to 3x times faster, and has equal functionality and ecosystem.

I found Socket.io completely obsolete because there is again better alternative as WS which has better performance, and compatible with native browser's "new WebSocket()". Socket.io was useful in era when not all browsers support WebSockets natively, but now things are different.

Using Passport.js is the easiest way to make broken authentication/authorization. Better decision would be using things like Auth0 or Casdoor which are auth providers that have all auth functionality out of the box, so integrating with them would be much quicker solution to implement rather than own auth flow integration.

Async.js is completely obsolete, because of existing ES6/ES6+ and async/await.

Winston is not that bad, but I find Pino as better logger, as it is much faster

Collapse
 
brense profile image
Rense Bakker

Express is slow because it is not opinionated. You can make express faster than fastify by using faster JSON stringification: dev.to/samchon/i-made-express-fast...

Overal WS and socket.io have a very similar syntax, socket.io just allows you to also use that more convenient syntax in the browser. Both are still updated regularly btw.

Collapse
 
pashavuiko profile image
pasha-vuiko

Hi, thank you, very interesting article about stringification and boosting this one. But also there are another reasons, why Fastify is faster then Express. For example Fastify plugins does not add/remove new fields to req/res objects during request processing (Fastify adds the additional fields to req/res objects on app strart), in comparison with common Express approach where middlewares add new fields during request processing. The reason why Fastify approach is better here is because of Hidden Classes medium.com/swlh/writing-optimized-.... Also if I'm not wrong Fastify parses request urls by using String Functions instead of RegExp which is also faster.

About WS, one more reason why I woud choose it in favor of Socket.io, is because again, it implements Native WebSocket, so it the same in browser, mobile, desktop, server, and it's not required any third party dependency to use it, unlike Socket.io requires

Thread Thread
 
rahulladumor profile image
Rahul Ladumor

Right you can also try and check kuzzle.io it's really good as compare to WS & socket.io. Btw Thank you!

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you for your suggestion!

Collapse
 
rahulladumor profile image
Rahul Ladumor

Thank you for your valuable suggestion. I will incorporate it to improve/update accordingly. Much appreciated!

Collapse
 
andrewwebcoder profile image
Info Comment hidden by post author - thread only accessible via permalink
Andrew-web-coder

This looks like generated article, where is Fancybox5 or any other fresh library? These are not fresh nor trending.

Collapse
 
leob profile image
Info Comment hidden by post author - thread only accessible via permalink
leob

Trending? good libs but old hat, every decent JS/NodeJS dev knows these already ...

Collapse
 
karlstens profile image
Info Comment hidden by post author - thread only accessible via permalink
Karlstens

The future of AI is... boring spammy articles? How do I unsubscribe from articles that I'm not subscribed to?

Collapse
 
spock123 profile image
Lars Rye Jeppesen

socket.io, really?
It's horrible compared to more modern alternatives

Some comments have been hidden by the post's author - find out more