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 🙏

© 2026 – Pkg Stats / Ryan Hefner

flipper-plugin-myplugin

v0.1.0

Published

Flipper 客户端插件:myplugin

Downloads

2

Readme

Flipper 客户端插件 myplugin

这是一个最小可运行的 Flipper 客户端插件示例,桌面端 UI 使用 Sandy 架构(plugin + Component)。

开发环境

  • 安装 Node.js(建议 >= 16)
  • 安装 Flipper 桌面应用(macOS 直接安装 .dmg)

快速开始

cd flipper-plugin-myplugin
npm i
npm run start
  • npm run start 会启动本地开发模式,Flipper 桌面将动态加载此插件。
  • 如果未自动加载,可在 Flipper 设置中打开 Developer 设置的动态插件加载。

构建

npm run build

会生成 dist/bundle.js,用于发布或手动加载。

与移动端对接

  • 插件 ID 固定为 myplugin,必须与移动端 getId() 返回值一致。
  • 桌面端通过 client.call('doSomething', {x}) 触发移动端方法;移动端通过 connection.send('message', {text}) 推送事件到桌面端。

目录结构

  • src/index.tsx:插件入口与 UI 组件
  • package.json:插件元数据与构建脚本
  • tsconfig.json:TypeScript 配置

可能问题

  • 编辑器报缺少依赖类型,是正常的,执行 npm i 后即可。
  • 若桌面端无法识别插件,检查 package.jsonflipperPlugin.id 与移动端 getId() 是否一致。