JavaScript Utility Libraries

Updated Sep 10, 2021#javascript#libs#lists

Following are JavaScript libraries that help programmers write more concise and maintainable JavaScript, often combined with functional programming paradigm.

They provide a huge collection of different methods, often serving completely separate purposes. Some can easily prove to be useful and make your code less bloated, while others can simply be wrappers around native functionalities provided for convenience.

When integrating utilities, cherry-pick must be taken to include in the bundle only the used functions.

  • Lodash - A JavaScript library that provides utility functions for common programming tasks using a functional programming paradigm.
  • Underscore - A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.
  • Ramda - A practical functional library for JavaScript, designed specifically for a functional programming style, one that makes it easy to create functional pipelines, one that never mutates user data.
  • Math.js - An extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices.
  • date-fns - A modern JavaScript date utility library, provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.
  • Day.js - A minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API.
  • Voca - A JavaScript library for manipulating strings, offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugify, latinise, sprintf’y, truncate, escape and much more.