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

@talonfi/data-okx-public

v0.8.0

Published

Talon public OKX market data adapter

Readme

@talonfi/data-okx-public

Talon 的 OKX 公开数据适配器。包内包含三个插件出口:

  • marketPlugin:动态订阅公开市场和逐笔成交频道,输出精确行情/成交并提供有界成交回捞。
  • signalsPlugin:订阅公开 KOL 买入活动,输出 okx.kol-buy 信号。
  • riskPlugin:通过免凭据公开接口输出 honeypot、风险等级和开发者 Rug 历史。

包还导出成交解码器、公开成交历史、1 秒 K 线请求函数和代币元数据解析器。实时行情、 成交、K 线和风险请求只使用免凭据的公共接口;未知动态资产的精度由行情插件通过 Solana RPC 读取并 校验经典 SPL Token 或 Token-2022 mint account。默认使用当前 Solana 网络的公共 RPC,也可通过 solanaRpc.urlEnv 引用 workspace 外部配置的 HTTPS RPC URL。行情插件不接受或读取 OKX OpenAPI 凭据。实时市场资产及其小数位可由 workspace 固定配置; 策略也可通过 market.dynamic-subscriptions 只提交准确 mint,由行情插件在真正订阅前解析并 验证精度。解析失败时不会猜测 6 或 9,也不会要求策略访问 Solana RPC。逐笔成交保留 原子数量、稳定 ID、发生/接收时间和来源; 超出合同 256 字符上限的完整 Solana 成交身份会转换为确定性 SHA-256 标识,实时流与历史回捞 使用同一编码以保持去重; 历史结果同时返回原始行数、解码数与覆盖状态。风险插件把暂时失败和未知值与安全值明确区分, 旧项目没有验证数据源的 Top10、市值和 FDV 字段保持 null。网络连接遵循标准 HTTP_PROXY、 HTTPS_PROXY 和 NO_PROXY 环境变量。

版本 0.2.0 是 @talonfi npm 组织下的首个正式包版本。项目仍处于 0.x 阶段, 使用方应固定精确版本。 从仓库根目录运行 npm run build,然后用 npm test --workspace=@talonfi/data-okx-public 验证本包。

Licensed under Apache-2.0. Plugins run as trusted code in the Trader process.