constant-mirror

A simple tool for creating objects with keys mirrored as values. Inspired by React's keyMirror.

Browse on unpkg