map-sync
[].map but better!
Example
var o = map({ steve: 1, bob: 2}, function (v) {
return v * 2
})
// o => { steve: 2, bob: 4 }
Installation
npm install map-sync
Contributors
- Raynos
[].map but better!
var o = map({ steve: 1, bob: 2}, function (v) {
return v * 2
})
// o => { steve: 2, bob: 4 }
npm install map-sync
npm i map-sync
1
0.1.1
none