
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@quickey/core
Advanced tools
@quickey/coreQuickey creates keyboard shortcuts for your web apps
Quickey is a tool that helps you bind keyboard keys to actions in your web app. You can bind multiple actions to specific elements in your page to help your users navigate your application more efficiently and easily.
Quickey can be installed via npm:
$ npm install --save @quickey/core
Or via yarn:
$ yarn add @quickey/core
Or using the CDN:
<script src="https://unpkg.com/@quickey/core@latest/umd/quickey.core.js"></script>
Or the minified version:
<script src="https://unpkg.com/@quickey/core@latest/umd/quickey.core.min.js"></script>
import { createQuickey } from "@quickey/core";
// Or when using the UMD module
const createQuickey = Quickey.core.createQuickey;
// First, create a new Quickey instance
const quickey = createQuickey();
// Adding actions to your quickey is simple as
quickey
.addAction({
id: "god",
keys: "I > D > D > Q > D",
alias: [{ keys: 'Ctrl + G' }],
callback: (keyBinding, target) => {
console.log("GOD Mode!");
}
});
// Remove action
quickey
.removeAction("god");
For your convenience, we created this Fiddle, so you can take Quickey for a quick spin.
Type: constructor
Type: object
Type: string
You can supply an id to the quickey object so you can access it later.
Type: string
Describe this object with a title.
Type: Array
A list of actions.
Type: function
Destroy callback function.
Type: EventTarget
The key binder keyboard target.
Note! Although you can create a new Quickey with this constructor, you should avoid this method and use only the createQuickey helper function.
All options are optionals
Add Quickey action or actions.
Type: object | Array
Type: string - optional
You can supply an id to the key binding so you can remove it later if you want to.
Type: string
The combination of keys to bind to.
For Combination binding (hold them together to activate) create a list of keys separated with the + sign. For example:
Ctrl + H, Ctrl + Alt + Delete, Shift + R
For Stream binding (enter one after another to activate) create a list of keys separated with the > sign. For example:
I > D > D > Q > D, Ctrl > Ctrl, H > E > L > L > O
For Single binding (enter one key) supply the key you want to bind to. For example:
J, F, K
See this list for uniqe key options.
Type: Array - optional
You can supply a list of options to the alias option to create aliases with this action.
Type: number - optional
The delay between key strokes when using Stream bindings.
Type: boolean - optional
In Combination bindings, strict mode will activate only if the binded keys are the only active keys in the keyboard.
In Stream bindings, each key must be released before the next one is active.
Type: string - optional
Describe the action.
Type: function
A callback to trigger when the action key combination is detected.
Remove a specific action.
Type: string
Removes all actions at once.
Enables the underlying key binder.
Disables the underlying key binder.
Destroy the Quickey object.
Type: string
Get the id of the current instance.
Type: string
Get the title of the current instance.
Type: boolean
Get the disabled state of the current instance.
Type: Array
Get the list of actions of the current instance.
Type: function
Creates new Quickey or Quickeys
Returns: object | Array
Type: object | Array
See .addAction([options|[options]]) options.
Type: function
Returns: object | Array
Type: string | Array
Quickey id or ids.
← Go back to Quickey
FAQs
Quickey creates keyboard shortcuts for your web apps
We found that @quickey/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.