Thank you for your interest in contributing to helpers4! We love your input and want to make the process as easy and transparent as possible.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
- Search first - Check existing issues to avoid duplicates
- Clear description - Include steps to reproduce, expected vs. actual behavior
- Environment info - Node version, OS, package versions
- Minimal example - Provide a small code sample if possible
- Clear use case - Explain why the enhancement would be useful
- Examples - Show how you'd use it
- Research - Look for existing solutions or similar features
- Fork and clone the repository
- Create a feature branch:
git checkout -b feat/description - Keep commits clean: Use conventional commits
feat:- New featurefix:- Bug fixdocs:- Documentationrefactor:- Code refactoringtest:- Tests
- Add tests if applicable
- Update docs if needed
- Push and create PR with clear description
We follow Conventional Commits for better changelog generation:
feat: add new array utility
fix: correct type definition
docs: update installation guide
refactor: simplify function logic
test: add edge case coverage# Install dependencies
pnpm install
# Run tests
pnpm test
# Run linter
pnpm lint
# Build
pnpm build
# Type check
pnpm typecheckEach repository follows a consistent structure:
src/orhelpers/- Source codetests/- Test filesbuild/- Build output (generated).github/- GitHub configurationdocs/- Documentation
- @baxyz - Owner and maintainer
- Follow existing code patterns
- Use TypeScript with strict mode
- Ensure type safety
- Write descriptive variable/function names
- Add tests for new features
- Ensure all tests pass locally
- Aim for good coverage on critical paths
- Update README for user-facing changes
- Add/update JSDoc comments
- Update CHANGELOG if applicable
- Sync with main branch:
git fetch origin && git rebase origin/main - Create feature branch:
git checkout -b feat/description - Make changes with clean commits
- Push:
git push origin feat/description - Create PR on GitHub
- ✅ Tests pass locally
- ✅ Code lints without errors
- ✅ No unnecessary comments or console logs
- ✅ Changes follow conventions
- ✅ Commit messages are clear
Open an issue with your question. We're here to help!
Happy contributing! 🎉