object-swap
What
Switch the object key and value. It doesn't work with nested objects.
Installation
$ npm install --save object-swap
Usage
var swap = ; console; // { '1': 'a', '2': 'b', '3': 'c' }
Test
npm test
Contribution
Contributions are appreciated.
License
MIT-licensed. See LICENSE.