Skip to content

Latest commit

 

History

History
118 lines (74 loc) · 1.85 KB

File metadata and controls

118 lines (74 loc) · 1.85 KB

Contributing to @hectoday/http

Thanks for your interest in contributing! This project exists to teach HTTP through explicit, readable code, and contributions that support that goal are very welcome.


Philosophy

This project prioritizes:

  • clarity over cleverness
  • explicit control flow
  • web standards
  • educational value

When contributing, ask:

Will this make the system easier to understand?


Ways to contribute

You can help by:

  • fixing bugs
  • improving documentation
  • adding examples
  • clarifying comments
  • suggesting better naming
  • improving error messages
  • reporting issues

Small contributions are just as valuable as big ones.


Submitting a PR

Before opening a pull request:

  • keep changes focused
  • write clear commit messages
  • update docs if behavior changes
  • explain why the change exists

PR title examples:

  • docs: clarify request lifecycle
  • fix: guard return type
  • feat: add header helper

Code style

  • prefer explicit code
  • avoid hidden side effects
  • no unnecessary abstractions
  • readable > clever
  • comments are encouraged

Documentation contributions

Docs are licensed under CC BY 4.0.

You are free to:

  • fix typos
  • rewrite confusing sections
  • add examples
  • improve explanations

Issues

When opening an issue:

  • describe expected behavior
  • describe actual behavior
  • include minimal reproduction if possible

What not to do

Please avoid:

  • adding magic behavior
  • hiding HTTP details
  • large refactors without discussion
  • adding heavy dependencies

License

By contributing:

  • code contributions are MIT licensed
  • documentation contributions are CC BY 4.0

You agree your work can be redistributed under these licenses.


Code of conduct

Be kind. Be respectful. Teach, don’t dunk.


Thanks for helping make HTTP easier to understand ❤️