Thanks for your interest in contributing to the eodhd SDK!
git clone https://github.com/EodHistoricalData/EODHD-APIs-Node-Financial-Library.git
cd EODHD-APIs-Node-Financial-Library
npm install| Command | Description |
|---|---|
npm run build |
Build CJS + ESM + type declarations |
npm run typecheck |
Run TypeScript type checking |
npm run test:unit |
Run unit tests (Vitest) |
npm run dev |
Watch mode build |
- Fork the repo and create a branch from
main - Make your changes
- Add or update tests as needed
- Ensure all checks pass:
npm run typecheck npm run test:unit npm run build
- Update
CHANGELOG.mdif the change is user-facing - Open a pull request
- TypeScript strict mode
- 2-space indentation
- No default exports — use named exports only
- Keep dependencies minimal — the SDK has zero runtime dependencies
- Add the method to the appropriate file in
src/api/ - Add types to
src/types.ts - Export from
src/index.ts - Add unit tests in
test/ - Document in
README.md
Use GitHub Issues with the bug report template.
By contributing, you agree that your contributions will be licensed under the MIT License.