Just like React's `keyMirror` module, but takes an array as input instead.
github.com/yuanqing/konst
yuanqing/konst