lodash VS ramda

Compare lodash vs ramda and see what are their differences.


A modern JavaScript utility library delivering modularity, performance, & extras. (by lodash)


:ram: Practical functional Javascript (by ramda)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
lodash ramda
72 31
51,448 21,423
0.6% 0.6%
1.8 5.7
9 days ago 3 days ago
JavaScript JavaScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of lodash. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-18.


Posts with mentions or reviews of ramda. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-23.
  • The React roadmap for beginners you never knew you needed.
    42 projects | dev.to | 23 Nov 2021
  • Loops, Array Methods, and Recursion
    2 projects | dev.to | 18 Nov 2021
    If this approach interests you, you can dive even deeper by surveying the various array functions available in popular utility libraries suchs Lodash and (for even more extreme examples) Ramda. These libraries include composable functions (not array prototype methods) that are extremely useful once you get familiar with them.
  • Getting started with functional programming in JavaScript and TypeScript
    1 project | dev.to | 13 Nov 2021
    Lodash does have some impure functions, e.g. remove. You could try a library that enforces functional style more strictly, such as Ramda. I stick to Lodash though, because it has better TypeScript support, and it's more familiar for devs I may be working with who don't come from a functional programming background.
  • Ramda is your friend
    1 project | dev.to | 8 Oct 2021
    Link to Ramda - https://ramdajs.com/ Enjoy 😊
  • A Review of "Professor Fisby's Mostly Adequate Guide to Functional Programming"
    1 project | dev.to | 4 Oct 2021
    I've already begun using pointfree style and some light function composition in my code, and being introduced to the JS package ramda really went a long way toward easing me into a more functional style of coding. I also found that the explanations of functors gave me a better appreciation for what languages like Rust do to avoid unhandled errors and nulls. However, at least for now, I think that's the extent of the impact of Professor Fisby's Mostly Adequate Guide to Functional Programming on how I read and write code. Even though I remain unconverted to the full FP path, I feel like I learned some useful concepts and techniques and would definitely recommend this book to anyone who is FP-curious but unwilling to commit to a 400-page tome with code examples written in Haskell.
  • JavaScript Currying
    1 project | reddit.com/r/javascript | 19 Sep 2021
    Great library to check out if you want to easily work with curried functions: https://ramdajs.com/ It’s an awesome functional utility library where all methods are auto-curried.
  • Currying in JavaScript
    5 projects | news.ycombinator.com | 19 Sep 2021
    The story doesn’t tell, but looking at the Ramda source [1][2][3], it sure looks like it: each application of a curried function creates a new curried function on the fly. Didn’t check deoptigate, but I’m willing to bet V8 doesn’t optimize that well.

    1: https://github.com/ramda/ramda/blob/master/source/curry.js

  • Synchronous and asynchronous function composition
    3 projects | dev.to | 15 Sep 2021
    There is a lot of existing libraries offering the pipe or function composition is some shape. I've successfuly used ramda. Others are happy with lodash/fp If somebody is intersted there is a proposal for pipes as part of javascript syntax. hackpipes.
  • A simple way to learn Functional Programming (FP) in JavaScript (JS)
    2 projects | dev.to | 8 Sep 2021
    Tip: We can make the isTextEmpty function more declarative by using compose function from Ramda.
  • Node.js Packages and Resources
    106 projects | dev.to | 6 Sep 2021
    Ramda - Utility library with a focus on flexible functional composition enabled by automatic currying and reversed argument order. Avoids mutating data.

What are some alternatives?

When comparing lodash and ramda you can also consider the following projects:

underscore - JavaScript's utility _ belt


lazy.js - Like Underscore, but lazier

Rambda - Faster and smaller alternative to Ramda

immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.

Sugar - A Javascript library for working with native objects.

Mout - Modular JavaScript Utilities

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

Sanctuary - :see_no_evil: Refuge from unsafe JavaScript