invert-kv

Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}`

Browse on unpkg