Skip to content

Latest commit

Β 

History

History
40 lines (29 loc) Β· 1.64 KB

README.md

File metadata and controls

40 lines (29 loc) Β· 1.64 KB

πŸ™ƒ 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

A project by Denorg, the world's first Deno-focused community
organization and consulting company. Work with us β†’