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
ย 
starboysharma profile image
Info Comment hidden by post author - thread only accessible via permalink
Pankaj Sharma โ€ข

Feels like a bot write this article.

Collapse
ย 
sanjayparmar277 profile image
sanjayparmar277 โ€ข

Nice article with usefull libraries, thanks for sharing. ๐Ÿ˜Š

Collapse
ย 
rahulladumor profile image
Rahul Ladumor โ€ข

Thank you so much

Collapse
ย 
hasanbakar profile image
Abu Bakar โ€ข

Awesome

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
ย 
wisdomsamuel7 profile image
Wisdom-Samuel7 โ€ข

Thanks Alot ๐Ÿ™

Collapse
ย 
rahulladumor profile image
Rahul Ladumor โ€ข

You're very welcome!

Collapse
ย 
tabbiehackett9080 profile image
Tabbie Hackett โ€ข

Good information, thx!

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
ย 
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
ย 
mezieb profile image
Okoro chimezie bright โ€ข

Nice thanks for sharing๐Ÿ‘

Collapse
ย 
rahulladumor profile image
Rahul Ladumor โ€ข

Thank you!

Collapse
ย 
youngitunesog profile image
youngitunesog โ€ข

Cool

Collapse
ย 
rahulladumor profile image
Rahul Ladumor โ€ข

Thanks!

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
ย 
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
ย 
tiffanyahn profile image
tiFFanyAhn โ€ข

great
thanks

Collapse
ย 
rahulladumor profile image
Rahul Ladumor โ€ข

You're welcome!

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