invert-kv
sindresorhus
popular esm
Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}`
Version 4.2.0 License MIT
Keywords
objectkeyvalueinvertkeysvalues
INSTALL
Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}`