1 # map-obj [![Build Status](https://travis-ci.org/sindresorhus/map-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/map-obj)
3 > Map object keys and values into a new object
9 $ npm install --save map-obj
16 var mapObj = require('map-obj');
18 var newObject = mapObj({foo: 'bar'}, function (key, value, object) {
19 // first element is the new key and second is the new value
20 // here we reverse the order
29 MIT © [Sindre Sorhus](http://sindresorhus.com)