map-object
map over the key-value pairs of an object
Last updated 7 years ago by grncdr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install map-object 
SYNC missed versions from official npm registry.

map-object

Map over the key-value pairs of an object.

API

module.exports = function mapObject (object, callback, context=object) -> Array

Callback should have a signature of (value, key, object) -> anything it will be called with it's context (this) set to the value of context if provided, or object if no context is provided.

License

MIT

Current Tags

  • 0.0.2                                ...           latest (7 years ago)

3 Versions

  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
  • 0.0.0                                ...           7 years ago
Maintainers (2)
Downloads
Today 1
This Week 2
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |