Skip to content

Latest commit

 

History

History
96 lines (70 loc) · 3.28 KB

CONTRIBUTING.md

File metadata and controls

96 lines (70 loc) · 3.28 KB

Contributing to fetchff

Thank you for your interest in contributing to the fetchff package! Your contributions help improve the library and make it better for everyone. This document outlines how to contribute to the project.

Table of Contents

Getting Started

  1. Fork the Repository: Click the "Fork" button on the top right of the repository page to create your copy of the repository.
  2. Clone Your Fork: Clone your forked repository to your local machine using:
    git clone https://github.com/your-username/fetchff.git
    cd fetchff
  3. Install Dependencies: Install the necessary dependencies for the project:
    npm install

Reporting Issues

If you encounter any bugs or issues, please report them using the following steps:

  1. Check the existing issues to see if your problem has already been reported.
  2. If not, create a new issue and provide as much detail as possible, including:
    • A clear and descriptive title
    • Steps to reproduce the issue
    • Expected vs. actual behavior
    • Environment details (OS, Node.js version, etc.)

Feature Requests

We welcome feature requests! If you have an idea for a new feature:

  1. Check the existing issues to see if your feature has already been suggested.
  2. If not, create a new issue with the following information:
    • A clear title and description of the feature
    • Use cases for the feature and why it's valuable

Submitting Code Changes

To contribute code changes:

  1. Create a New Branch: Always create a new branch for your feature or bug fix:
    git checkout -b my-feature-branch
  2. Make Your Changes: Implement your changes and ensure they work as expected.
  3. Commit Your Changes: Write clear and descriptive commit messages:
    git commit -m "Add feature: Description of the feature"
  4. Push to Your Fork: Push your changes to your fork:
    git push origin my-feature-branch
  5. Open a Pull Request: Go to the original repository and open a pull request. Provide a clear description of the changes you made and why they should be merged.

Code Style Guidelines

Please follow these guidelines when contributing:

  • Use consistent indentation (spaces vs. tabs).
  • Write clear and concise code with meaningful variable names.
  • Keep your code clean and well-structured.

Testing

Before submitting your changes, ensure that all tests pass:

  1. Run the test suite using:
    npm test
  2. If you add new features, please include appropriate tests.

Documentation

If you add new features or make significant changes, please update the documentation accordingly. Ensure that all new functionality is clearly explained.

Code of Conduct

By participating in this project, you agree to abide by the Code of Conduct. We expect all contributors to be respectful and considerate to others.


Thank you for your contributions! We appreciate your help in making fetchff better.