Public npm package (tardis-dev). Provides async iterator API for historical replay and real-time streaming of cryptocurrency market data, with exchange-specific mappers for normalization.
npm run build # tsc
npm test # build + jest
npm run check-format # prettier check- Keep backward compatibility for public API signatures — this is a published npm package
- Maintain cache key stability (filters are normalized/sorted intentionally)
- Preserve memory-safe streaming behavior (avoid large in-memory buffering)
- Exchange additions must update realtime feed + mapper tables consistently
- Format after every edit — run
npx prettier --writeon modified files after each change
npm run build && npm testnpm run check-format
- ARCHITECTURE.md — async iterators, replay pipeline, mapper system, order book
- ADD_NEW_EXCHANGE.md — add mappers and realtime feed for a new exchange
Published via GitHub Actions (publish.yaml). Do not publish manually unless explicitly requested.
When you change code, check if any docs in this repo become stale as a result — if so, update them. When following a workflow doc, if the steps don't match reality, fix the doc so the next run is better.