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

@xiaoso/pi-plugin-windows-notify

v0.0.2

Published

Pi Windows notification plugin - sends notifications on task completion and user confirmation needed, with AFK mode to notify only when away from window

Readme

English | 简体中文

pi-windows-tip

一个 pi 扩展,在任务完成、失败或需要你确认时发送 Windows 桌面通知——让你可以离开工位,Pi 需要你时再回来。

⚠️ 仅限 Windows — 本扩展使用 Windows 专用 API,无法在其他平台运行。

同时兼容 PiOMP (Oh My Pi)

功能

  • 任务完成 / 失败 / 需要确认时发送通知
  • AFK 模式——仅在你离开 Pi 窗口时通知
  • 最小任务时长过滤(跳过过短任务)
  • 7 种语言(en, zh-CN, ja, ko, es, fr, ru)——自动检测系统语言
  • 设置跨会话持久化

安装

Pi:

pi install npm:@xiaoso/pi-plugin-windows-notify

OMP:

omp plugin install @xiaoso/pi-plugin-windows-notify

或从 Git 安装:

pi install git:github.com/xiaoso456/pi-plugin-windows-notify

命令

/notify    — 打开通知设置

设置

| 设置项 | 可选值 | 说明 | |---|---|---| | Enabled | on / off | 总开关 | | Notify Mode | afk / all | afk:仅离开窗口时通知;all:始终通知 | | Language | en / zh-CN / ja / ko / es / fr / ru | 显示语言 |

配置文件 (Pi):~/.pi/agent/pi-windows-tip-config.json 配置文件 (OMP):~/.omp/agent/pi-windows-tip-config.json

工作原理

监听 Pi 生命周期事件,通过 node-notifier 发送通知。AFK 模式下,使用 active-win 检测当前前台窗口是否仍为 Pi——如果你正在看 Pi,则抑制通知。

许可证

MIT