mouse-vm 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Launch Virtual Mouse & Keyboard Node.js Server
4
+ require('../server.js');
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "mouse-vm",
3
+ "version": "1.0.2",
4
+ "description": "Transform your smartphone or tablet into a high-performance wireless trackpad, live keyboard, and desktop controller for Windows PC over WiFi.",
5
+ "main": "server.js",
6
+ "files": [
7
+ "bin",
8
+ "server.js",
9
+ "static"
10
+ ],
11
+ "bin": {
12
+ "vm2do": "bin/cli.js",
13
+ "vm": "bin/cli.js",
14
+ "virtual-mouse": "bin/cli.js"
15
+ },
16
+
17
+ "scripts": {
18
+ "start": "node server.js",
19
+ "dev": "node --watch server.js",
20
+ "postversion": "node -e \"const fs=require('fs'),v=require('./package.json').version,f='static/sw.js',s=fs.readFileSync(f,'utf8').replace(/const CACHE_NAME = \\\"mouse-vm-v[^\\\"]+\\\"/,'const CACHE_NAME = \\\"mouse-vm-v'+v+'\\\"');fs.writeFileSync(f,s);console.log('[postversion] sw.js CACHE_NAME updated to mouse-vm-v'+v);\""
21
+ },
22
+ "keywords": [
23
+ "virtual-mouse",
24
+ "trackpad",
25
+ "remote-keyboard",
26
+ "windows-controller",
27
+ "pwa",
28
+ "remote-mouse",
29
+ "wifi-mouse"
30
+ ],
31
+ "author": "abhi2007",
32
+ "license": "MIT",
33
+ "dependencies": {
34
+ "express": "^5.2.1",
35
+ "express-rate-limit": "^8.7.0",
36
+ "koffi": "^3.2.1",
37
+ "qrcode": "^1.5.4",
38
+ "ws": "^8.21.3"
39
+ },
40
+ "engines": {
41
+ "node": ">=20.0.0 || >=22.0.0 || >=24.0.0"
42
+ },
43
+ "homepage": "https://github.com/ap20089p-ai/mousenpm#readme",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/ap20089p-ai/mousenpm.git"
47
+ }
48
+ }