Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@splayer/osx-mouse-cocoa
Advanced tools
Readme
Mouse tracking for macOS. Receive the screen position of various mouse events.
npm install osx-mouse-cocoa
This is a fork of osx-mouse that works on macOS Mojave without accessibility permissions. Unlike osx-mouse
, the events are only emitted when the application is in focused. Even when the application is unfocused, move
events are still generated when hovering over the application windows.
The module returns an event emitter instance.
var mouse = require('osx-mouse-cocoa')();
mouse.on('move', function(x, y) {
console.log(x, y);
});
To stop tracking events, call mouse.destroy()
. The mouse.ref()
and mouse.unref()
methods have been retained for API compatibility with osx-mouse
, but they have no effect.
The events emitted are: move
, left-down
, left-up
, left-drag
, right-up
, right-down
and right-drag
. For each event the screen coordinates are passed to the handler function.
FAQs
Mouse tracking for macOS using Cocoa APIs
The npm package @splayer/osx-mouse-cocoa receives a total of 0 weekly downloads. As such, @splayer/osx-mouse-cocoa popularity was classified as not popular.
We found that @splayer/osx-mouse-cocoa 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.