First off, thank you for considering contributing to FastFetch. It's people like you that make FastFetch such a robust and powerful tool for developers.
If you've noticed a bug or have a feature request, make one! It's generally best if you get confirmation of your bug or approval for your feature request this way before starting to code.
- Fork the repo on GitHub
- Clone the project to your own machine
- Navigate to the project directory:
cd FastFetch-API-Fetch-Enhancer - Create a new branch:
git checkout -b my-awesome-new-feature
- Run
npm installto install dependencies. - Run
npm testto run the Jest test suite. Please ensure that all tests pass locally before pushing your code. - If you add a new feature, please add test coverage for it into
__tests__/demo.test.ts.
- Push your branch to your fork:
git push -u origin my-awesome-new-feature - Go to GitHub and submit a Pull Request to the
masterbranch. - Wait for the GitHub Actions CI pipeline to validate your contribution.
FastFetch aims to be lightweight. We use cross-fetch to maintain isomorphic behaviors. When writing logic, default to utilizing the existing Koa-style middlewares (api.use()) over writing direct native XMLHttpRequest manipulation logic.