The @schedule-tribe/crm library provides a class CPF for handling crm operations in TypeScript. It offers various methods for manipulating crm, calculating differences, formatting crm, and checking validity. This library aims to simplify crm management in Domain-Driven Design contexts.
Install rich-domain
and @schedule-tribe/crm
with your favorite package manager:
npm i rich-domain @schedule-tribe/crm
# OR
yarn add rich-domain @schedule-tribe/crm
import { CRM } from '@schedule-tribe/crm';
// Check if is valid value
const isValid = CRM.isValid('9843583475');
// false