Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 978 Bytes

File metadata and controls

34 lines (23 loc) · 978 Bytes

Contributing to stream-chain

Thank you for your interest in contributing!

Getting started

This project uses a git submodule for the wiki. Clone recursively:

git clone --recursive [email protected]:uhop/stream-chain.git
cd stream-chain
npm install

See ARCHITECTURE.md for the module map and dependency graph.

Development workflow

  1. Make your changes.
  2. Lint: npm run lint:fix
  3. Test: npm test
  4. Type-check: npm run ts-check

Code style

  • CommonJS (require()/module.exports) in source, ESM (import) in tests (.mjs).
  • Formatted with Prettier — see .prettierrc for settings.
  • No unnecessary dependencies — the library has zero runtime dependencies.
  • Keep src/index.js and src/index.d.ts in sync.
  • Keep .js and .d.ts files in sync for all modules under src/.

AI agents

If you are an AI coding agent, see AGENTS.md for detailed project conventions, commands, and architecture.