aboutsummaryrefslogtreecommitdiff
path: root/node_modules/invert-kv/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/invert-kv/readme.md')
-rw-r--r--node_modules/invert-kv/readme.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/node_modules/invert-kv/readme.md b/node_modules/invert-kv/readme.md
new file mode 100644
index 0000000..039fc7c
--- /dev/null
+++ b/node_modules/invert-kv/readme.md
@@ -0,0 +1,25 @@
+# invert-kv [![Build Status](https://travis-ci.org/sindresorhus/invert-kv.svg?branch=master)](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)