Home

Awesome

🙃 Invert KV

Invert the key-value pairs in an object in Deno. This is a port of sindresorhus/invert-kv.

Deno CI GitHub Contributors Deno Starter Made by Denorg TypeScript semantic-release

import { invert } from "https://deno.land/x/invert_kv/mod.ts";

const obj = { hello: "world" };

const result = invert(); // { world: "hello" }

👩‍💻 Development

Run tests:

deno test

📄 License

MIT © Denorg

<p align="center"> <a href="https://den.org.in"> <img width="100" alt="" src="https://raw.githubusercontent.com/denorg/denorg/master/logo.svg"> </a> </p> <p align="center"> <sub>A project by <a href="https://den.org.in">Denorg</a>, the world's first Deno-focused community<br>organization and consulting company. <a href="https://den.org.in">Work with us →</a></sub> </p>