Package Exports
- @schedule-tribe/name
- @schedule-tribe/name/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@schedule-tribe/name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@schedule-tribe/name
The @schedule-tribe/name library provides a class CPF for handling name operations in TypeScript. It offers various methods for manipulating name, calculating differences, formatting name, and checking validity. This library aims to simplify name management in Domain-Driven Design contexts.
Installation
Install rich-domain and @schedule-tribe/name with your favorite package manager:
npm i rich-domain @schedule-tribe/name
# OR
yarn add rich-domain @schedule-tribe/name
Usage
import { Name } from '@schedule-tribe/name';
// Check if is valid value
const isValid = Name.isValid('');
// false