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

sonic-trading-lab

v0.1.0-beta.1

Published

Local sonic-trading-lab launcher with verified startup updates

Readme

sonic-trading-lab — unsigned Mac beta

Local AI-assisted crypto strategy research and historical backtesting. No durable trading edge has been established. Historical passes are not forecasts or trading approval.

Install and start

Apple Silicon Mac and Node.js 22+ required:

npx sonic-trading-lab

The small npm launcher downloads the bundled application, verifies its checksum and opens http://127.0.0.1:8091. No separate Python or Docker. On first use choose Download historical data, then New test. Data covers five Binance spot pairs from September 2024 through December 2025, including warm-up; no 2026 downloads. Allow at least 1GB for the app and initial data.

Unsigned development beta: tested on the maintainer's Apple Silicon Mac, not a fresh physical Mac. macOS may block it. The launcher does not bypass security controls. Windows, Intel Mac and Linux are not supported by this npm beta. Node26/npm11 were exercised; Node22 is the declared minimum, not separately tested.

Updates and saved work

Each start checks the official release manifest, independently of npm caching. A running instance is reopened without updating its engine. Use Quit app, then run the command again for updates. Closing the browser does not quit the application. Failed downloads/checksums fall back to the last working version. Downgrades are refused. Old application bundles are retained.

Each test has an independent wallet. Saved candles, logs and SQLite remain in ~/Library/Application Support/StrategyLab (legacy storage name retained to preserve data). Bundles/logs are cached at ~/.cache/sonic-trading-lab. The launcher does not change a separate paper bot. A different service/data directory on port8091 produces a conflict rather than being stopped.

Optional AI and setup skill

Install and authenticate Codex or Claude Code using their official tools, or supply your own OpenAI/Anthropic API key in the local dashboard. AI needs internet and provider allowance. Keys stay in backend memory. The packaged worker was checked with fixtures; live provider cycles in the packaged app remain unverified. Existing-strategy backtests do not require AI.

One setup skill is included at skills/sonic-trading-lab-setup. Copy that folder into your agent's skills directory: ~/.codex/skills/ for Codex or ~/.claude/skills/ for Claude Code. It explains setup and does not automatically start paid research or backtests.

Research limits

All provided history is reused research data. Results include the existing 0.10% fee and0.02% adverse slippage per side plus the daily funding assumption. Minute candles do not reproduce order books or partial fills; shorts use spot prices as a proxy. Green means the five displayed historical checks passed, not ready to trade. Searching many variations can select luck.

Release maintenance

The manifest at releases/latest.json points to versioned GitHub Release ZIPs and SHA256 hashes. Upload the new asset before updating that file; never replace an existing version with different contents. Build a new application for engine/UI changes and preserve data compatibility. HTTPS hosting is the manifest trust authority; hashes detect corruption, not compromise of the publishing account. Signing/notarization remains unfinished.

The launcher is dependency-free Node.js. npm pack produces the npm package. SONIC_LAB_RELEASE_URL, SONIC_LAB_CACHE, STRATEGY_LAB_HOME, STRATEGY_LAB_PORT, and SONIC_LAB_NO_BROWSER=1 are optional maintainer verification overrides, not required for normal use. No auto-update of a running engine or automatic database migration is performed.