# radash

> Functional utility library - modern, simple, typed, powerful

Latest version **12.1.1** (published 2025-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install radash
pnpm add radash
yarn add radash
bun add radash
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 12.1.1 |
| Published | 2025-06-18 |
| First published | 2020-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14.18.0 |
| Dependencies | 0 |
| Unpacked size | 298.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4837 |
| Author | rayepps |
| Maintainers | rayepps |

## Links

- npm: https://www.npmjs.com/package/radash
- Repository: https://github.com/rayepps/radash
- Homepage: https://github.com/rayepps/radash#readme
- Issues: https://github.com/rayepps/radash/issues
- npm.io page: https://npm.io/package/radash

## Recent versions

- 12.1.1 (latest) — 2025-06-18
- 8.0.3-alpha.1 (rc) — 2022-10-21
- 12.1.0 — 2024-03-08
- 12.0.0 — 2024-02-21
- 11.0.0 — 2023-06-27
- 10.9.0 — 2023-06-17
- 10.8.1 — 2023-03-28
- 10.7.1 — 2023-03-08
- 10.7.0 — 2023-01-16
- 10.6.0 — 2023-01-08
- 10.5.0 — 2023-01-07
- 10.4.0 — 2023-01-06
- 10.3.2 — 2022-12-22
- 10.3.1 — 2022-12-21
- 10.3.0 — 2022-12-16
- … 78 more at https://npm.io/package/radash/versions

## README

# Radash

:loud_sound: `/raw-dash/`

<div align="center">
  <p align="center">
    <img src="https://github.com/rayepps/radash/raw/master/banner.png" alt="radash" width="100%" style="border-radius:4px" />
  </p>
</div>

<div>
  <h3 align="center">
    Functional utility library - modern, simple, typed, powerful
  </h3>
</div>

<p align="center">
  <a href="https://bundlephobia.com/package/radash">
    <img src="https://img.shields.io/bundlephobia/minzip/radash?label=minzipped" alt="bundle size" height="18">
  </a>
  <a href="https://www.npmjs.com/package/radash">
    <img src="https://img.shields.io/npm/dm/radash.svg" alt="npm downloads" height="18">
  </a>
  <a href="https://www.npmjs.com/package/radash">
    <img src="https://img.shields.io/npm/v/radash.svg" alt="npm version" height="18">
  </a>
  <a href="https://github.com/rayepps/radash">
    <img src="https://img.shields.io/npm/l/radash.svg" alt="MIT license" height="18">
  </a>
</p>

<div align="center">
  <a href="https://radash-docs.vercel.app" target="_blank">
      Full Documentation
  </a>
</div>

## Install

```
yarn add radash
```

## Usage

A very brief kitchen sink. See the full documentation [here](https://radash-docs.vercel.app).

```ts
import * as _ from 'radash'

const gods = [{
  name: 'Ra',
  power: 'sun',
  rank: 100,
  culture: 'egypt'
}, {
  name: 'Loki',
  power: 'tricks',
  rank: 72,
  culture: 'norse'
}, {
  name: 'Zeus',
  power: 'lightning',
  rank: 96,
  culture: 'greek'
}]

_.max(gods, g => g.rank) // => ra
_.sum(gods, g => g.rank) // => 268
_.fork(gods, g => g.culture === 'norse') // => [[loki], [ra, zeus]]
_.sort(gods, g => g.rank) // => [ra, zeus, loki]
_.boil(gods, (a, b) => a.rank > b.rank ? a : b) // => ra

_.objectify(
  gods, 
  g => g.name.toLowerCase(), 
  g => _.pick(g, ['power', 'rank', 'culture'])
) // => { ra, zeus, loki }

const godName = _.get(gods, g => g[0].name)

const [err, god] = await _.try(api.gods.findByName)(godName)

const allGods = await _.map(gods, async ({ name }) => {
  return api.gods.findByName(name)
})
```

## Contributing

Contributions are welcome and appreciated! Check out the [contributing guide](./.github/contributing.md) before you dive in.

---
_Source: https://npm.io/package/radash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
