just-map-object
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "just-map-object", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "map an object, passing key and value to predicates", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
## just-map-object | ||
Part of a [library](../../../../) of zero-dependency npm modules that do just do one thing. | ||
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 now](http://anguscroll.com/just/just-map-object) | ||
[`🍦 Try it`](https://anguscroll.com/just/just-map-object) | ||
```shell | ||
npm install just-map-object | ||
``` | ||
```shell | ||
yarn add just-map-object | ||
``` | ||
Map an object, passing key and value to predicates | ||
```js | ||
@@ -15,1 +24,2 @@ import map from 'just-map-object'; | ||
map({a: 3, b: 5, c: 9}, (key, value) => key + value); // {a: 'a3', b: 'b5', c: 'c9'}``` | ||
``` |
3808
25