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 🙏

© 2025 – Pkg Stats / Ryan Hefner

assistsx-js

v0.0.2051

Published

assistsx-js自动化开发SDK

Readme

AssistsX JS

一个支持通过Web端实现Android平台自动化脚本的JS库,支持元素节点查找、获取节点文本、节点截图、执行手势动作、提供步骤器实现复杂自动化业务等一系列自动化脚本开发能力支持

AssistsX JS运行平台

开发的自动化脚本需要运行在Android端AssistsX中,所以开发前需要先在手机安装AssistsX

扫码下载

下载链接:https://www.pgyer.com/SqGaCx8C

下载安装后会默认安装一个示例插件,可长按删除

Assistsx源码

快速开始

1. 创建项目

  • 创建vite模版项目:npm create vite@latest assistsx-helloword -- --template vue
  • 安装assistsx-js依赖:npm install assistsx-js@latest

2. 创建插件配置

在项目目录public下创建文件assistsx_plugin_config.json文件,将以下json复制粘贴到文件中

{
  "name": "AssistsX示例",
  "version": "1.0.0",
  "description": "AssistsX示例",
  "isShowOverlay": true,
  "needScreenCapture": true,
  "packageName": "com.assistsx.example",
  "main": "index.html",
  "icon": "vite.svg",
  "overlayTitle": "AssistsX示例"
}

3. 编写脚本插件

写一个最简单的,点击微信搜索进入搜索页面

const handleClick = () => {
  AssistsX.findById("com.tencent.mm:id/jha")[0].click()
}

增加一个测试按钮调用这个方法

<button type="button" @click="handleClick">测试按钮</button>

4. 加载插件

  1. 通过AssistsX局域网加载插件

加载插件前需要配置项目允许局域网访问,在文件vite.config.js添加以下配置

export default defineConfig({
  plugins: [vue()],
  server: {
    host: '0.0.0.0', // 允许局域网访问
    port: 5173
  },
})

运行项目npm run dev以便AssistsX直接加载

  1. 打开AssistsX,扫描局域网插件添加
  1. 测试插件:点击开始,打开微信消息列表,点击测试按钮

API开发文档

示例

示例源码及使用教程:https://github.com/ven-coder/assistsx-js-simple

🙋有问题欢迎反馈交流

| QQ交流群| 个人微信 | |:---------:|:-----------:| | |

💝 支持开源

开源不易,您的支持是我坚持的动力!

如果AssistsX JS对您的项目有帮助,可以通过以下方式支持我喔:

⭐ Star支持

  • 给项目点个Star,让更多开发者发现这个框架
  • 分享给身边的朋友和同事

💰 赞助支持

  • 爱发电支持 - 您的每一份支持都是我们前进的动力
  • 一杯Coffee的微信赞赏

定制开发可联系个人微信: x39598

感谢所有的支持者,得到你们的支持我将会更加完善开源库的能力! 🚀