Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hotstuff

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hotstuff - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "hotstuff",
"version": "0.0.1",
"version": "0.0.2",
"description": "Small Package to provide add Hotkeys easily to any element",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -90,3 +90,3 @@ # Hotstuff

// console.log will only be triggered once per keypress
hotKey.addListener('space',(e,store)=>{
hotStuff.addListener('space',(e,store)=>{
e.preventDefault();

@@ -102,3 +102,3 @@ if(!store.debounce){

// example of a debounce with a 1 second time limit between keypresses
hotKey.addListener('backspace',(e,store)=>{
hotStuff.addListener('backspace',(e,store)=>{
e.preventDefault();

@@ -105,0 +105,0 @@ let now = performance ? performance.now() : Date.now();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc