Returns a copy of object with inverted keys and values of an object
$ npm install --save o-invert
var invert = require('o-invert');
console.log(invert({name: "Vikram", surname: "Jadhav"}));
// -> { Vikram: 'name', Jadhav: 'surname' }
Arguments:
object
: An object that to be inverted
Returns: Returns a copy of object with inverted keys and values of an object
© 2016 Vikram Jadhav. MIT License