Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs11
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
invert-kv
/
File Content:
readme.md
# 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)
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.js
229 bytes
0644
package.json
1529 bytes
0644
readme.md
480 bytes
0644
N4ST4R_ID | Naxtarrr