app php01 790c53caa0 最后一版uniaiim 10 месяцев назад
..
index.d.ts 790c53caa0 最后一版uniaiim 10 месяцев назад
index.js 790c53caa0 最后一版uniaiim 10 месяцев назад
license 790c53caa0 最后一版uniaiim 10 месяцев назад
package.json 790c53caa0 最后一版uniaiim 10 месяцев назад
readme.md 790c53caa0 最后一版uniaiim 10 месяцев назад

readme.md

invert-kv Build Status

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

Install

$ npm install invert-kv

Usage

const invertKeyValue = require('invert-kv');

invertKeyValue({foo: 'bar', '🦄': '🌈'});
//=> {bar: 'foo', '🌈': '🦄'}

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.