Over a million developers have joined DZone.

5 Useful JavaScript Libraries

DZone's Guide to

5 Useful JavaScript Libraries

A DZone user shares some useful JavaScript libraries that developers can use to improve front-end development.

· Web Dev Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

Front-end development is the coolest part of the complete web development process. Ever now & then you get to see new libraries and articles coming out. Basically, the Internet is full of various tools for front-end development. In short, you have got tool for everything.

In this post, I am going to share 5 useful JavaScript libraries that can help your front-end development.


A powerful JavaScript library that lets you manipulate and display dates easily. It’s light in weight (near to 12kb) and can be used easily in web applications. For instance to display 10 days back from current date, you simply have to do this:

moment().subtract(10, 'days').calendar();  //will display date in the format mm/dd/yyyy

GitHub – https://github.com/moment/moment/


Tired of adding social media login integration to your website? Well, look no further, because this library provides to various number of platform integration with standardized paths and common response. So you do not have to go through all those documentations and follow steps to integrate APIs & SDKs. Simply include Hello.js library into your project and get going. Here’s a quick start link for Hello.js

GitHub – https://github.com/MrSwitch/hello.js


Hate regex and creating validations? Well hate no more, since you have is.js to escape. Be it email, phone number or any such validations, is.js is quite is easy to use and extend. Some examples –

is.email('test@test.com'); //check if the given string is valid email

is.creditCard(378282246310005);  //checks for valid credit card

GitHub – https://github.com/arasatasaygin/is.js


Underscore provides over 100 functions that can ease your day to day work in JavaScript. It gives a lot of programming function that will help you be super productive while writing JavaScript code. And the best part is it’s just 5.7KB in production which means it will sit in your application stack quite light weight.

GitHub — https://github.com/jashkenas/underscore


A simple lightweight, zero dependency JavaScript library for Autocomplete solution. Simply include the JS & CSS file and get thing running in less than a minute. It is just 2KB after minimized and for use in production, isn’t that Awesomplete!!

GitHub – https://github.com/LeaVerou/awesomplete

I understand there are many JavaScript libraries that are useful and quite helpful in day to day programming. So share the ones you love the most and we will include that in our next post.

Stay Digified!

Sachin Khosla

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

javascript ,tips ,tools ,jquery

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}