npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sharemk

v0.0.1

Published

share mouse and keyboard, support mac、linux and windows

Downloads

2

Readme

简介

以Win为主服务器,远程操作Mac的工具。

(原计划支持多端鼠标键盘共享,因工程较大,延后支持)

运行必要环境

因为该小程序是构建在robotjs之上,假若没有匹配的package,需要支持编译C++的环境:参考

  • mac:安装Xcode
  • window:npm install windows-build-tools参考

安装使用

  • npm i sharemk -g
  • Win:sharemk -s
  • Mac:sharemk -c

目前支持功能

  • 鼠标常规操作(移动,点击,滑动,拖拽等)
  • 键盘常规操作(非快捷键输入)
  • 突发情况快捷键:
    • Ctrl + [(开启控制)
    • Ctrl + ](退出控制)

开发相关

以下为开发相关(暂搁于此),使用者退散~

Dev调试运行

  1. npm run s(现阶段为Win系统)
  2. npm run c(现阶段为Mac或Linux系统)
  3. 当鼠标到达边界,即可操作额外的电脑

开发计划

功能

  • [x] 双向复制
  • [x] 无法连接服务器等提示 & 机制
  • [x] 设置两个屏幕的位置
  • [x] 局域网基于Key的自发现机制(无需明确IP)
  • [x] 更适应屏幕的活动规则
  • [x] 快捷键输入
  • [ ] 复制文件
  • [ ] 根据性质分别采用TCP & UDP
  • [ ] 阻止键盘和鼠标事件

未来功能

原计划是支持三端的,因为一些已知的问题,且暂时没有精力解决,所以延后了。

  • v0.2.x:支持三端
  • v0.3.x:封装App,支持三个或以上屏幕

BUG统计

已修复

  • [x] 鼠标进入和退出时不够流畅(因为mousemove触发过多,应该throttle)
  • [x] 比较难唤起Mac的程序坞(接近Mac程序坞时,mousemove应该平滑移动)
  • [x] VSCODE双击时无法通过模拟获取
  • [x] 单个修饰键无法使用

未修复

  • [ ] Mac Hook无法监听多个键盘事件(iohook的BUG,Link