image

JavaScript utility libraries

Notable libraries that extend JavaScirpt built-in objects in a functional way

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

image

lodash.com

Lodash is a JavaScript library that provides utility functions for common programming tasks using a functional programming paradigm.

Underscore

image

underscorejs.org

Underscore is a JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.

Ramda

image

ramdajs.com

Ramda is 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

image

mathjs.org

Math.js is 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

image

date-fns.org

date-fns is a modern JavaScript date utility library, provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js.

Day.js

image

day.js.org

Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API.

Voca

image

vocajs.com

Voca is 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.