a-synchronous / a-synchronous/rubico
map.keys
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 283
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
```coffeescript
map.keys(mapper (key string)=>Promise|string)(object Object) -> mappedKeys Promise|Object
```
Apply a mapper concurrently to an object's keys, returning an object with mapped keys.
```javascript
console.log(
map.keys(key => `#${key}`)({ a: 1, b: 2, c: 3 }),
) // { '#a': 1, '#b': 2, '#c': 3 }
```
Contributor guide
Assessment
This issue has not been assessed yet.