Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
#Key
Key is a tiny little keycode library for your browser. It makes keybound event assertions super simple.
Browser
To use Key without a package manager in-browser, copy/link
to client/key.js
or client/key.min.js
and start using.
NPM
Just install with npm install key
or add it to your package.json
Key is bound to the window
object, so usage in the browser is simple
var key = window.key
Key will also work fine with a dependency manager like Browserify (both Javascript and CoffeeScript).
var key = require('key')
pressed = 13; // An event keycode (eg jQuery.event.which)
key.get(pressed).name; // "Enter"
key.is(key.code.special.enter, pressed); // true
key.is(key.code.alnum.a, pressed); // false
The content of this library is released under the MIT License by Andrew Lawson.
You can find a copy of this license at http://www.opensource.org/licenses/mit
FAQs
A tiny little keycode library
We found that key 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.