Prefer using npm or yarn for dependency management and script execution.
Ensure compatibility with modern JavaScript (ES6+) features unless specified otherwise.
Write unit tests with high coverage, focusing on core functionality.
Use meaningful test descriptions and assertions.
Follow a consistent test structure (e.g., Arrange-Act-Assert).
Use Prettier for consistent code formatting.
Prefer const and let over var.
Follow modular programming principles (avoid large, monolithic files).
Use meaningful variable and function names.
Ensure functions are pure and reusable whenever possible.
Provide clear descriptions of parameters and return values.
Maintain an up-to-date README.md with project setup and usage instructions.
Document API endpoints if applicable using Swagger/OpenAPI.