# just-map-values

> map an object, predicate updates values, receives (value, key, object)

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

## Install

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

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2022-12-17 |
| First published | 2017-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6191 |
| Author | Angus Croll |
| Maintainers | angus-c |
| Keywords | object, map, values, no-dependencies, just |

## Links

- npm: https://www.npmjs.com/package/just-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-map-values

## Recent versions

- 3.2.0 (latest) — 2022-12-17
- 3.1.1 — 2022-08-08
- 3.1.0 — 2022-08-07
- 3.0.2 — 2021-11-13
- 3.0.1 — 2021-11-12
- 3.0.0 — 2021-11-09
- 2.2.1 — 2021-11-01
- 2.2.0 — 2021-10-31
- 2.1.0 — 2021-10-30
- 2.0.0 — 2021-10-22
- 1.2.1 — 2021-04-04
- 1.2.0 — 2021-04-04
- 1.1.0 — 2018-08-09
- 1.0.3 — 2017-10-21
- 1.0.2 — 2017-10-21
- … 2 more at https://npm.io/package/just-map-values/versions

## 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-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-map-values)

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

Map an object, predicate updates values, receives (value, key, object)

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

// predicate updates values, receives (value, key, obj)
map({a: 3, b: 5, c: 9}, (value) => value + 1); // {a: 4, b: 6, c: 10}
map({a: 3, b: 5, c: 9}, (value, key) => value + key); // {a: 3a, b: 5b, c: 9c}
map({a: 3, b: 5, c: 9}, (value, key, obj) => obj.b); // {a: 5, b: 5, c: 5}
```

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