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.
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('email@example.com'); //check if the given string is valid email is.creditCard(378282246310005); //checks for valid credit card