Andrea Fazzi 929328de94 Replace domain name пре 4 година
..
index.js 994369ab61 First commit пре 7 година
package.json 929328de94 Replace domain name пре 4 година
readme.md 994369ab61 First commit пре 7 година

readme.md

invert-kv Build Status

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

Install

$ npm install --save invert-kv

Usage

var invertKv = require('invert-kv');

invertKv({foo: 'bar', unicorn: 'rainbow'});
//=> {bar: 'foo', rainbow: 'unicorn'}

License

MIT © Sindre Sorhus