map-keys
Map object keys returning a new object
Last updated 4 years ago by parshap .
Public Domain · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install map-keys 
SYNC missed versions from official npm registry.

map-keys

Map object keys returning a new object

Example

var map = require("map-keys");
map({ foo: 2 }, function(val, key, obj) {
  return key + "bar";
});
// -> { foobar: 2 }

Installation

npm install map-keys

Current Tags

  • 2.0.0                                ...           latest (4 years ago)

2 Versions

  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |