Map object keys and values into an array
npm install map-array
> Map object keys and values into an array



``bash`
npm install --save map-array
`javascript
const mapArray = require('map-array');
const obj = {
giorgio: 'Bianchi',
gino: 'Rossi'
};
console.log(mapArray(obj, (key, value) => key + ' ' + value));
``
> ['giorgio Bianchi', 'gino Rossi']
* map-obj - Map object keys and values into a new object
The MIT License (MIT)
Copyright (c) 2017 parro-it