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

@bobofrivia/freight-watcher

v1.0.0

Published

OpenClaw 海运盯价插件

Readme

Freight Watcher Plugin

OpenClaw 海运盯价插件。当用户表达需要监控海运运价时,Agent 自动创建定时任务, 定期拉取运价事件接口,通过微信主动推送新事件。

安装

# 本地安装
openclaw plugins install ./freight-watcher-plugin

# 或从 npm 安装(发布后)
openclaw plugins install @bobofrivia/freight-watcher

配置

在 OpenClaw 配置文件中添加:

{
  "plugins": {
    "entries": {
      "freight-watcher": {
        "enabled": true,
        "config": {
          "eventsUrl": "http://localhost:8000/events",
          "targetUserId": "[email protected]",
          "interval": "*/5 * * * *"
        }
      }
    }
  }
}

重启 Gateway

openclaw gateway restart

使用方式

安装并配置后,直接对 Agent 说:

  • "帮我开启海运盯价"
  • "有新运价通知我"

Agent 会自动完成验证和开启流程。

运价接口规范

接口需返回 JSON 数组,格式:

[
  { "content": "上海→洛杉矶 运价上涨 $200/TEU" },
  { "content": "宁波→鹿特丹 舱位紧张" }
]

无需鉴权。

Cron Job 管理

openclaw cron list                          # 查看所有 job
openclaw cron runs --id freight-watcher     # 查看运行历史
openclaw cron run freight-watcher           # 手动触发一次