Create `src/utils` Directory for Common Helper Functions
#91 opened on Jan 23, 2026
Repository metrics
- Stars
- (9 stars)
- PR merge metrics
- (PR metrics pending)
Description
Documentation Type
README file
Current Issue
As the project matures, common helper functions for tasks like date formatting, input validation, or data manipulation tend to be duplicated or scattered across various component files. Creating a dedicated src/utils directory to house these reusable functions will significantly improve code organization, reduce redundancy, and make it easier to find and maintain shared logic. This also makes functions more testable in isolation.
Proposed Improvement
Creating a dedicated src/utils directory to house these reusable functions will significantly improve code organization, reduce redundancy, and make it easier to find and maintain shared logic. This also makes functions more testable in isolation.
Affected Sections
No response
Target Audience
New contributors
Additional Context
Hey @Sahilll94, I would liked to be assigned to this task. I have read code of conduct, I am under ECWoC 26
Implementation
- I can write the documentation changes myself
- I can provide review and feedback
- I prefer to let others handle the implementation
Confirmation
- I have checked that this improvement isn't already covered elsewhere
- I have searched for existing documentation issues before creating this one