Thank you for your interest in contributing to the nodejs-ercaspay package! We welcome contributions of all kinds, including bug fixes, feature additions, and documentation improvements. Please read the guidelines below to help us maintain a collaborative and organized project.
If you encounter bugs, errors, or have suggestions for improvements:
- Check the issues page to see if the problem has already been reported.
- If not, create a new issue with a descriptive title and detailed information, including:
- Steps to reproduce the issue (if applicable).
- Your Node.js version and any relevant configurations.
- Suggestions or expected behavior.
- Install Node.js (LTS version recommended).
- Familiarity with Git and basic Node.js development.
- Fork the repository to your GitHub account.
- Clone your fork to your local machine:
git clone https://github.com/your-username/your-repo.git cd your-repo - Create a new branch for your feature or bug fix:
git checkout -b feature-or-bug-name
- Make your changes and test them thoroughly.
- Commit your changes with a descriptive commit message:
git commit -m "Add feature/fix for XYZ" - Push the branch to your fork:
git push origin feature-or-bug-name
- Create a Pull Request (PR) to the main repository. Include the following in the PR:
- A clear description of the change.
- Reference any related issues.
- Steps for testing your changes (if applicable).
- Use consistent formatting and indentation.
- Follow best practices for JavaScript and Node.js development.
- Run
npm run formatto fix code styling.
All new features and bug fixes must include test cases to ensure the functionality works as expected and prevent regressions.
- Use the existing
testsfolder as a reference. - Run tests using
npm testto verify all test cases pass.
We value contributions to our documentation! If you notice incomplete or unclear sections in the README.md or other docs:
- Fork and edit the documentation files.
- Submit a PR with your improvements.
If you need help or have questions, feel free to:
- Open a GitHub issue with the
questionlabel. - Join our project discussions in the repository .
We strive to maintain a friendly and respectful environment for all contributors. Please adhere to the Code of Conduct while interacting with the community.
Your contributions make this project better for everyone. We appreciate your time and effort. Happy coding! 🎉