Thank you for your interest in contributing!
This project uses a git submodule for the wiki. Clone recursively:
git clone --recursive [email protected]:uhop/stream-chain.git
cd stream-chain
npm installSee ARCHITECTURE.md for the module map and dependency graph.
- Make your changes.
- Lint:
npm run lint:fix - Test:
npm test - Type-check:
npm run ts-check
- CommonJS (
require()/module.exports) in source, ESM (import) in tests (.mjs). - Formatted with Prettier — see
.prettierrcfor settings. - No unnecessary dependencies — the library has zero runtime dependencies.
- Keep
src/index.jsandsrc/index.d.tsin sync. - Keep
.jsand.d.tsfiles in sync for all modules undersrc/.
If you are an AI coding agent, see AGENTS.md for detailed project conventions, commands, and architecture.