TypeQuest is a React library I built to cut the boilerplate of wiring up keyboard shortcuts. Rather than reinventing key-event handling, I wrapped Keypress.JS, a mature, feature-rich keybinding library, behind a clean, typed API. The core is a singleton that holds a single Keypress.JS listener instance across the app, preventing duplicate registrations and exposing native methods for advanced extensibility. On top of that, a ShortcutComponent lets developers declaratively attach shortcuts inline with their JSX. Built with TypeScript and Vite, the library enforces type safety on combo strings and handler signatures, making it straightforward to add, remove, or extend keyboard interactions without touching raw DOM event listeners.
Built using:

