Sahilll94/Travel-Book

Create `src/utils` Directory for Common Helper Functions

Open

#91 opened on Jan 23, 2026

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (46 forks)auto 404
documentationgood first issue

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

Contributor guide