DEV Community

Cover image for What are five of the most useful Javascript libraries that you use as a Javascript developer?
narendra8989
narendra8989

Posted on

What are five of the most useful Javascript libraries that you use as a Javascript developer?

Moment.js for handling time including human-readable time in different languages. Example, a notification is timestamped and moment.js can show it as « Il y a quelques minutes » — “a few minutes ago” because it recognizes time relative to now, and can say it in the user’s language. It also helps for formatting dates such as Dec. 10, 2017 instead of the ambiguous 12/10/17 (outside the US this is October 12, 2017)

Lodash (underscore) for helpful utility methods. Instead of reinventing the wheel on how to iterate through an array of objects efficiently, trust those who have fine-tuned these methods.

Validator for email password strength and other validations. Instead of trying to anticipate all the cases that would make an email invalid, or a password not very secure, use a library that is tested by time and experience.

React for rendering code and templates together. This may not qualify as a JavaScript library, but it is by far the most useful tool I have discovered since JQuery. I’m sure Vue.js or some other, similar libraries are equally impressive, but I can attest to the power of React. It’s one of those things that makes you wonder how we did things before (much like how JQuery once felt)

Node / npm for javascript on the server and for installing dependencies. Not a library, but a tool for installing libraries and wring JavaScript on the server. Express would be a useful Node.js library.

Meet the Experts : https://nareshit.com/javascript-online-training/

Top comments (0)