Thank you for considering contributing to the YTS library! We appreciate your interest and efforts in making this project better.
To contribute to this project, please follow these guidelines:
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report any unacceptable behavior to the project maintainers.
If you encounter any issues or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much information as possible, including:
- A clear and descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Any relevant error messages or screenshots
We welcome and encourage pull requests from the community. To submit a pull request:
- Fork the repository and create your own branch from the
main
branch. - Ensure that your code adheres to the existing code style and conventions.
- Provide a clear and descriptive title for your pull request.
- Include a detailed description of the changes you've made.
- If your pull request addresses an issue, reference it using the issue number (#issueNumber).
- Before submitting, make sure all tests pass and there are no linting errors.
- Submit the pull request and await feedback or further instructions.
To set up the project locally for development, follow these steps:
- Fork the repository and clone it to your local machine.
- Install the dependencies by running
npm install
in the project directory. - Make your changes and ensure that the code is functioning correctly.
- Run tests with
npm test
to verify that everything is working as expected. - If applicable, add new tests for your changes.
- Run the linter with
npm run lint
to ensure code style consistency. - Push your changes to your forked repository.
- Submit a pull request following the guidelines mentioned above.
Please ensure that your code follows the existing code style to maintain consistency throughout the project. Here are a few guidelines to follow:
- Use meaningful variable and function names.
- Write clear and concise comments to explain complex logic or algorithms.
- Use consistent indentation (2 spaces) and line breaks.
- Follow the JavaScript Standard Style for code formatting.
By contributing to this project, you agree that your contributions will be licensed under the MIT License.
Thank you for your interest in contributing to the YTS library! We appreciate your time and effort in helping make this project better. If you have any questions or need further assistance, please don't hesitate to reach out to the project maintainers.