Ramda is an open source functional programming library that which includes many utility functions that can help us to put some of the main functional programming techniques into practice. Ramda can be compared to other libraries, such as Lodash or Underscore. However, the Ramda API is much more influenced by the functional programming principle than these other libraries. For example, Ramda has been designed in a way that makes composability and immutability two of the main characteristics of its components.
We can install Ramda using the following npm command:
npm install ramda @types/ramda
In the following sections, we are going to learn how to use Ramda to implement function compositions and lenses.