
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
@tanstack/hotkeys
Advanced tools
Type-safe keyboard shortcuts for the web. Template strings, parsed objects, cross-platform Mod, a singleton Hotkey Manager, and utilities for cheatsheet UIs. Built to stay SSR-friendly.
[!NOTE] TanStack Hotkeys is pre-alpha (prototyping phase). We are actively developing the library and are open to feedback and contributions.
Mod+Shift+S, Control+Shift+A, Escape{ key: 'S', ctrl: true, shift: true, alt: false, meta: false, modifiers: ['Control','Shift'] }Hotkey for as many valid event.key combinations as possiblekeydown / keyup via eventTypepreventDefault, stopPropagationenabled to turn hotkeys on or offrequireReset: trigger once until all keys are releasedMod maps to Cmd (Meta) on macOS and Ctrl on Windows/LinuxgetHotkeyManager(), HotkeyManager.getInstance() to register global keyboard shortcutsformatForDisplay(hotkey) for cheatsheet UIs (symbols on Mac, labels on Windows/Linux)formatWithLabels, formatHotkey for flexible outputvalidateHotkey, assertValidHotkey, checkHotkey for correctness validationmatchesKeyboardEvent, createHotkeyHandler, createMultiHotkeyHandlerSequenceManager, createSequenceMatcher for Vim-style multi-key shortcuts (e.g. ['G','G'], ['D','I','W'])KeyStateTracker, getKeyStateTracker for held-key trackingHotkeyRecorder class for capturing keyboard shortcuts interactivelyuseHotkey – register a keyboard shortcut (global, via singleton manager)useHotkeySequence – detect keys pressed in order within a timeoutuseHeldKeys – reactive list of currently held keysuseKeyHold – reactive boolean for whether a given key is helduseHotkeyRecorder – record keyboard shortcuts interactively with live preview@tanstack/hotkeys-devtools and @tanstack/react-hotkeys-devtools (in active development)input, textarea)[!NOTE] You may know TanStack Hotkeys by our adapter names, too!
- React Hotkeys
- Solid Hotkeys – needs a contributor!
- Angular Hotkeys – needs a contributor!
- Svelte Hotkeys – needs a contributor!
- Vue Hotkeys – needs a contributor!
import { useHotkey, formatForDisplay } from '@tanstack/react-hotkeys'
function Editor() {
useHotkey(
'Mod+S',
(e, { hotkey }) => {
save()
},
{ requireReset: true },
)
return (
<div>
<button>Save</button>
<span>{formatForDisplay('Mod+S')}</span>{' '}
{/* e.g. "⌘S" on Mac, "Ctrl+S" on Windows */}
</div>
)
}
@tanstack/hotkeys – Core: parse, format, match, validate, manager, sequence, key-state@tanstack/react-hotkeys – React: useHotkey, useHotkeySequence, useHeldKeys, useKeyHold, useHotkeyRecorder@tanstack/hotkeys-devtools – Base devtools (in development)@tanstack/react-hotkeys-devtools – React devtools (in development)|
|
|
We're looking for TanStack Hotkeys Partners to join our mission! Partner with us to push the boundaries of TanStack Hotkeys and build amazing things together.
LET'S CHAT… and more at TanStack.com »
FAQs
Type-safe, framework-agnostic keyboard hotkey management for the browser
The npm package @tanstack/hotkeys receives a total of 893,826 weekly downloads. As such, @tanstack/hotkeys popularity was classified as popular.
We found that @tanstack/hotkeys demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.