@schedule-tribe/name
v0.0.1
Published
Library that provides TypeScript type definitions for handling Name in Domain-Driven Design contexts. It facilitates the validation and manipulation of Names.
Downloads
2
Maintainers
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