awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ccampbell avatar

ccampbell/mousetrap

0
View on GitHub↗
11,774 estrellas·957 forks·JavaScript·Apache-2.0·5 vistascraig.is/killing/mice↗

Mousetrap

Mousetrap is a JavaScript keyboard shortcut library used to bind specific key combinations and sequences to custom functions in web applications. It serves as a keyboard event handler that listens to and manages keypress, keydown, and keyup events across a browser window.

The library includes a sequence-based input manager for triggering actions based on a precise series of keys pressed in a specific order. It also provides a custom shortcut recorder to capture user keystrokes for defining and saving personalized shortcuts.

The system supports global binding registration to ensure shortcuts trigger regardless of the active input element. It includes capabilities for bulk shortcut configuration, programmatic event triggering to simulate key presses, and the ability to pause event execution to temporarily disable registered shortcuts.

Features

  • Keyboard Shortcut Managers - Provides a declarative system for registering and managing keyboard event listeners and hotkeys.
  • Ordered Key Sequences - Triggers actions based on a specific series of keys pressed in a precise order.
  • Custom Key Mappings - Implements a system to map keyboard event combinations to specific application functions.
  • Key Sequence Patterns - Triggers actions based on a series of keys pressed in a specific order to create complex shortcut patterns.
  • Sequence-Based Mappings - Implements multi-key shortcuts and professional navigation patterns requiring keys to be pressed in a specific order.
  • Keyboard Shortcut Mappers - Binds custom functions to specific key combinations by listening for standard keyboard events.
  • Global Shortcut Interceptors - Captures keyboard events at the document level to trigger shortcuts regardless of current element focus.
  • Keyboard Event Handlers - Manages the listening and handling of keypress, keydown, and keyup events across the browser window.
  • Sequential Input Tracking - Tracks series of keystrokes over time to trigger actions based on complex, ordered key patterns.
  • Input Customization - Allows users to record and save personalized keyboard shortcuts to customize their experience.
  • Shortcut Recorders - Provides a utility for capturing user keystrokes to define and save personalized keyboard shortcuts.
  • Dynamic Shortcut Registrations - Provides the ability to dynamically add or remove key bindings at runtime through API calls or configuration objects.
  • Keyboard Shortcuts - Simple library for keyboard shortcuts.
  • JavaScript 框架汇总 - Listed in the “JavaScript 框架汇总” section of the Awesome Frontend awesome list.
  • Keyboard Shortcuts - Simple keyboard shortcut handling.

Historial de estrellas

Gráfico del historial de estrellas de ccampbell/mousetrapGráfico del historial de estrellas de ccampbell/mousetrap

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Mousetrap

Proyectos open-source similares, clasificados según cuántas características comparten con Mousetrap.
  • jaywcjlove/hotkeys-jsAvatar de jaywcjlove

    jaywcjlove/hotkeys-js

    7,107Ver en GitHub↗

    hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback functions within web applications. It serves as an input shortcut orchestrator that captures and filters keyboard events to execute custom actions. The library distinguishes itself through shortcut scope management, allowing shortcuts to be organized into named groups. These scopes can be toggled to prevent command conflicts across different application states. The system covers keyboard shortcut binding and unbinding, real-time key state querying, and input event filtering to prev

    TypeScriptbrowserhotkeyhotkeys
    Ver en GitHub↗7,107
  • jamiebuilds/tinykeysAvatar de jamiebuilds

    jamiebuilds/tinykeys

    4,081Ver en GitHub↗

    Tinykeys is a lightweight JavaScript utility for mapping keyboard combinations, sequences, and regular expression patterns to specific callback functions. It serves as an input mapping utility that triggers actions based on simultaneous modifier key presses or chronological key sequences. The library distinguishes itself by supporting dynamic key pattern matching through regular expressions and state-based sequence tracking to execute actions after a specific series of presses. It also includes a keyboard event parser that converts human-readable shortcut strings into structured data. These

    TypeScript
    Ver en GitHub↗4,081
  • mawww/kakouneAvatar de mawww

    mawww/kakoune

    10,938Ver en GitHub↗

    Kakoune is a scriptable, modal text editor for the terminal that employs a client-server architecture. This model allows multiple terminal windows to connect to a single editing session, providing a programmable environment for managing source code and text. The editor is distinguished by its selection-first logic, where a text region must be predefined before a command is applied. It leverages regular expressions to manage multiple cursors and perform bulk edits across complex text patterns, and it integrates deeply with the shell by piping selections through external programs and filters.

    C++
    Ver en GitHub↗10,938
  • nvim-mini/mini.nvimAvatar de nvim-mini

    nvim-mini/mini.nvim

    9,325Ver en GitHub↗

    mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls

    Lualuamini-nvimneovim
    Ver en GitHub↗9,325
Ver las 30 alternativas a Mousetrap→

Preguntas frecuentes

¿Qué hace ccampbell/mousetrap?

Mousetrap is a JavaScript keyboard shortcut library used to bind specific key combinations and sequences to custom functions in web applications. It serves as a keyboard event handler that listens to and manages keypress, keydown, and keyup events across a browser window.

¿Cuáles son las características principales de ccampbell/mousetrap?

Las características principales de ccampbell/mousetrap son: Keyboard Shortcut Managers, Ordered Key Sequences, Custom Key Mappings, Key Sequence Patterns, Sequence-Based Mappings, Keyboard Shortcut Mappers, Global Shortcut Interceptors, Keyboard Event Handlers.

¿Qué alternativas de código abierto existen para ccampbell/mousetrap?

Las alternativas de código abierto para ccampbell/mousetrap incluyen: jaywcjlove/hotkeys-js — hotkeys-js is a JavaScript keyboard shortcut library and event manager used to map key combinations to callback… jamiebuilds/tinykeys — Tinykeys is a lightweight JavaScript utility for mapping keyboard combinations, sequences, and regular expression… mawww/kakoune — Kakoune is a scriptable, modal text editor for the terminal that employs a client-server architecture. This model… nvim-mini/mini.nvim — mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation,… madrobby/keymaster — Keymaster is a keyboard shortcut library for web applications that provides utilities for intercepting keyboard events… tanstack/virtual.