# just-deep-map-values

> Returns an object with values at all depths mapped according to the provided function

Latest version **1.2.0** (published 2022-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install just-deep-map-values
pnpm add just-deep-map-values
yarn add just-deep-map-values
bun add just-deep-map-values
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-12-17 |
| First published | 2021-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6196 |
| Author | Max Ryan Synnott |
| Maintainers | angus-c |
| Keywords | object, deep, map, values, no-dependencies, just |

## Links

- npm: https://www.npmjs.com/package/just-deep-map-values
- Repository: https://github.com/angus-c/just
- Homepage: https://github.com/angus-c/just#readme
- Issues: https://github.com/angus-c/just/issues
- npm.io page: https://npm.io/package/just-deep-map-values

## Recent versions

- 1.2.0 (latest) — 2022-12-17
- 1.1.1 — 2022-08-08
- 1.1.0 — 2022-08-07
- 1.0.0 — 2021-11-18

## README

<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE -->
<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template -->

## just-deep-map-values

Part of a [library](https://anguscroll.com/just) of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

[`🍦 Try it`](https://anguscroll.com/just/just-deep-map-values)

```shell
npm install just-deep-map-values
```
```shell
yarn add just-deep-map-values
```

Returns an object with values at all depths mapped according to the provided function

```js
import deepMapValues from 'just-deep-map-values';

const squareFn = (number) => number * number;
deepMapValues({ a: 1, b: { c: 2, d: { e: 3 } } }, squareFn); // => { a: 1, b: { c: 4, d: { e: 9 } } }
```

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