shork
v0.1.1
Published
Easily create keyboard shortcuts
Downloads
5
Readme
Shork
A library to easily create shortcuts in your JavaScript web apps.
Example
registerShortcuts([
{
keys: ["Control", "k"],
action: () => {
// Open a search or something
}
}
]);
Installation
npm install shork
yarn add shork
pnpm add shork
bun add shork
pmr add shork
Pmr is a command line utility to control all package managers with one interface.