Thank you for your interest in contributing to audit-chain.
git clone https://github.com/Stackbilt-dev/audit-chain.git
cd audit-chain
npm install
npm run typecheck- TypeScript strict mode is enforced. All code must pass
npm run typecheck. - Zero production dependencies. The library uses only the Web Crypto API and Cloudflare Worker bindings (R2, D1). Do not add runtime dependencies.
- Keep core logic under 200 LOC. The value of this library is simplicity and auditability.
- Fork the repo and create a branch from
main. - Make your changes and ensure
npm run typecheckpasses. - Write a clear PR description explaining the why, not just the what.
- One logical change per PR.
- No external linter config (yet). Follow existing patterns.
- Prefer explicit types over inference for public APIs.
- Document all exported functions with JSDoc.
Open an issue on GitHub. Include:
- What you expected to happen
- What actually happened
- Minimal reproduction steps
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.