# Common Shared code library and reusable utilities for the various Humand services. ## Description This package contains utilities, types, constants, services, and common functions used throughout the Humand ecosystem. It centralizes shared functionalities to improve code maintainability and consistency. ## Content - **Helpers**: Reusable helper functions - **Types**: TypeScript definitions to ensure consistency - **Constants**: Shared constant values - **Services**: Common service implementations - **Models**: Shared data model definitions ## Installation This package is automatically installed as a dependency in other workspaces of the monorepo. If you need to install it manually in a new workspace: ```bash pnpm add @humand-packages/common ``` ## Commands - **Build the project**: `pnpm nx build common` - **Run tests**: `pnpm nx test common` - **Run linting**: `pnpm nx lint common` ## Usage Import the necessary functionalities in your files: ```typescript import { formatDate, validateEmail } from '@humand-packages/common'; ``` ## Development When adding new functionalities to this package, ensure: 1. Maintaining compatibility with existing services 2. Modify index to export the new code 2. Writing tests for new functionalities 3. Following established code conventions