File manager - Edit - /opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/invert-kv/readme.md
Back
# invert-kv [](https://travis-ci.org/sindresorhus/invert-kv) > Invert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}` ## Install ```sh $ npm install --save invert-kv ``` ## Usage ```js var invertKv = require('invert-kv'); invertKv({foo: 'bar', unicorn: 'rainbow'}); //=> {bar: 'foo', rainbow: 'unicorn'} ``` ## License MIT © [Sindre Sorhus](http://sindresorhus.com)
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings