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.2 to 0.0.3

4

package.json
{
"name": "hotstuff",
"version": "0.0.2",
"version": "0.0.3",
"description": "Small Package to provide add Hotkeys easily to any element",
"main": "index.js",
"main": "dist/HotStuff.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

@@ -23,3 +23,4 @@ # Hotstuff

const hotStuff = new HotStuff(window);
const hotStuff = new HotStuff(); // by default HotStuff attaches itself to the window object if there is one
// by default HotStuff attaches itself to the window object if there is one
const hotStuff = new HotStuff();
```

@@ -26,0 +27,0 @@ From this point you can add hotkeys using the new `hotStuff` object using the `hotStuff.addListener` method. Both functions are optional (so if you want to just add a key up function, you can by passing null as the second argument)

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