Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inDemoInstall

invert-kv

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

invert-kv

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

    4.2.0latest
    Github

Version published
Maintainers
1
Weekly downloads
6,376,368
decreased by-9.09%

Weekly downloads

Readme

Source

invert-kv

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

Install

$ npm install invert-kv

Usage

import invertKeyValue from '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.

Keywords

FAQs

What is invert-kv?

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

Is invert-kv popular?

The npm package invert-kv receives a total of 6,033,742 weekly downloads. As such, invert-kv popularity was classified as popular.

Is invert-kv well maintained?

We found that invert-kv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 26 Feb 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc