@denorg/invert-kv

2.0.0 • Public • Published

🙃 Invert KV

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

Test CI

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

Readme

Keywords

none

Package Sidebar

Install

npm i @denorg/invert-kv

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

5.49 kB

Total Files

9

Last publish

Collaborators

  • anandchowdhary