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

active-mouse

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active-mouse

[![NPM version](https://img.shields.io/npm/v/active-mouse?color=%23cb3837&style=flat-square)](https://www.npmjs.com/package/active-mouse) [![Repository package.json version](https://img.shields.io/github/package-json/v/vilic/active-mouse?color=%230969da&l

  • 0.0.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

NPM version Repository package.json version MIT License Discord

Active Mouse

Usage

active-mouse [config]
active-mouse [config] --startup
active-mouse [config] --disable-startup

Server

.config.mjs

import {spawn} from 'child_process';

const CONTROL_MY_MONITOR_PATH =
  'C:\\Utilities\\controlmymonitor\\ControlMyMonitor.exe';

// Try out the configs with ControlMyMonitor.exe first.

const MONITOR = ''; // Could be serial number

const MONITOR_INPUT_DICT = {
  'vane-station': '15', // DisplayPort in my case
  'vane-mba': '27', // Type-C in my case
};

export default {
  type: 'server',
  name: 'vane-station',
  action(name) {
    spawn(CONTROL_MY_MONITOR_PATH, [
      '/SetValue',
      MONITOR,
      '60',
      MONITOR_INPUT_DICT[name],
    ]);
  },
};

Client

.config.mjs

export default {
  type: 'client',
  name: 'vane-mba',
  host: '192.168.1.10',
};

License

MIT License.

FAQs

Package last updated on 15 Feb 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc