Thank you for taking the time to contribute!
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/ModbusScanner.git - Install dependencies:
npm install - Create a branch for your change:
git checkout -b feat/your-feature-name
Use the bug report template when opening an issue. Include:
- Your OS and Node.js version
- Connection type (RTU or TCP)
- Steps to reproduce
- What you expected vs. what happened
Use the feature request template. Describe the use case clearly — what problem does it solve?
- Keep changes focused. One concern per PR.
- Follow the existing code style.
- Update
CHANGELOG.mdunder the[Unreleased]section describing your change. - Open the PR against the
mainbranch.
Use the imperative mood and keep the subject line under 72 characters:
feat: add support for FC02 discrete inputs
fix: handle timeout correctly on RTU reconnect
docs: update keybindings table in README
Common prefixes: feat, fix, docs, refactor, chore.
By contributing you agree that your contributions will be licensed under the BSD 3-Clause License.