Ramda is a JavaScript library focused on functional style, with curried helpers that avoid mutating your data.
Overview
Ramda is a utility library for JavaScript developers who want a functional programming style. It works with ordinary objects and arrays rather than importing foreign data structures, and aims to feel like idiomatic JavaScript with functional conveniences.
Design emphasis falls on immutability and side-effect-free helpers, automatic currying, and argument order that puts the data to transform last. Together these traits support composing small functions into pipelines where each step passes transformed data forward.
You can install Ramda in Node, Deno, or the browser via package managers, ES modules, CDN script tags, or a bookmarklet. Newer releases expect named or namespace imports instead of a default export, and documentation covers cherry-picking functions or using bundler tree-shaking to trim bundle size.
A partial build command can emit a custom bundle containing only selected functions. API reference material and a cookbook of derived recipes supplement the core documentation, with TypeScript and Flow typings and translations in several languages.
Key features
- Automatic function currying
- Data-last parameter ordering
- Immutable-style data helpers
- Composable function pipelines
- Node browser and Deno usage
- Partial custom library builds
- Bundler tree-shaking support
- Cookbook of composed recipes
Use cases
- Functional data transformation pipelines
- Immutable collection processing
- Curried utility composition
- Reducing front-end bundle size
- Replacing imperative array loops