strml

strml/keymirror

Simple util to create an object with its keys mirrored as values. Standalone port of react/lib/keyMirror.

JavaScript
380
41
No license

KeyMirror is a utility that creates an object with keys mirrored as their values, originally ported from React's `keyMirror`. It's designed for developers who need to generate enums or constants in JavaScript, particularly those using tools like the Closure Compiler that optimize code by crushing keys. The library is useful for ensuring that enum values remain consistent with their keys, making it ideal for React developers or anyone working with JavaScript constants.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

STRML's profile
STRML
6 contributions
guyellis's profile
guyellis
2 contributions
sverrejoh's profile
sverrejoh
2 contributions
cesarandreu's profile
cesarandreu
1 contributions
rileytomasek's profile
rileytomasek
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet