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

@znora/strategy-sdk

v0.1.0

Published

ZNORA strategy authoring surface — types + engine re-exports + LiveStrategy interface for student strategies on the chart-driven backtest service. No runner, no CLI, no candle store. Backtests run server-side via @znora/chart-mcp's backtest_run tool.

Downloads

25

Readme

@znora/strategy-sdk

The strategy authoring surface for the ZNORA chart-driven backtest service. Curated re-exports of every detector + the LiveStrategy interface students need to write strategies. No CLI, no local runner, no candle store — backtests run server-side via the chart-mcp's backtest_run tool.

What this is

import type { LiveStrategy } from '@znora/strategy-sdk';
import { scanForCISD, detectSimpleFVG } from '@znora/strategy-sdk';

export default {
  meta: {
    name: 'CISD + FVG long',
    timeframes: ['M15'],
    engines: ['cisd', 'fvg'],
  },
  evaluate(candles, symbol, tf) {
    const m15 = candles[tf];
    const cisds = scanForCISD(m15);
    // ... your strategy logic
    return { direction: 'long', entryPrice, stopLoss, takeProfit };
  },
} satisfies LiveStrategy;

What this is not

  • Not a CLI. No fxbg backtest, no 127.0.0.1:9753 viewer. Backtests run by asking Claude Code (via the paired @znora/chart-mcp) to run them.
  • Not a candle store. No ~/.fxbg/candles/ SQLite mirror. Candles come from the chart's Postgres source of truth, server-side.
  • Not a deploy tool. No fxbg deploy. Deployment to live signal workers is done from the chart's web UI.

Usage

Install through @znora/create-chart-project — you don't add it to a hand-rolled project:

npx @znora/create-chart-project --chart-origin https://forexbulgaria.bg my-strategies

The scaffolder writes a package.json that depends on @znora/strategy-sdk, plus a .claude/skills/strategy-develop/SKILL.md Claude follows when you ask it to write a strategy.

Migration from @vasokai/fxbg-sdk

@vasokai/fxbg-sdk is the previous-generation SDK that bundled the local CLI runner. @znora/strategy-sdk is its slim successor:

| What | @vasokai/fxbg-sdk | @znora/strategy-sdk | |---|---|---| | Engine re-exports + types | ✅ | ✅ (identical surface) | | LiveStrategy interface + v2 types | ✅ | ✅ (identical) | | Local fxbg backtest CLI | ✅ | ❌ — backtests run server-side | | Local SQLite candle store | ✅ | ❌ — candles come from server Postgres | | Local viewer at 127.0.0.1:9753 | ✅ | ❌ — chart's BacktestOverlay renders trades | | Bundled native deps (better-sqlite3) | ✅ | ❌ — pure JS, smaller install |

To migrate an existing fxbg-sdk strategy, change the import:

-import { scanForCISD, type LiveStrategy } from '@vasokai/fxbg-sdk';
+import { scanForCISD, type LiveStrategy } from '@znora/strategy-sdk';

That's it. The exported names are identical.

License

See LICENSE.txt (commercial, academy-gated).