Socket
Socket
Sign inDemoInstall

with-modifier-key

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    with-modifier-key

Detect some modifier keys are pressed


Version published
Weekly downloads
521
decreased by-61.38%
Maintainers
1
Install size
3.58 kB
Created
Weekly downloads
 

Readme

Source

with-modifier-key

Build Status

Detect some modifier keys are pressed.

var withModifierKey = require('with-modifier-key')

element.addEventListener('click', function (event) {
  if (withModifierKey(event)) {
    // yay
  }
})

Install

npm install with-modifier-key

License

MIT

Keywords

FAQs

Last updated on 18 Jul 2015

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc