@schedule-tribe/status
v0.0.1
Published
This package provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts
Downloads
3
Maintainers
Readme
@schedule-tribe/status
The @schedule-tribe/status library provides a class status for handling status operations in TypeScript. It offers various methods for manipulating status, calculating differences, formatting status, and checking validity. This library aims to simplify status management in Domain-Driven Design contexts.
Installation
Install rich-domain
and @schedule-tribe/status
with your favorite package manager:
npm i rich-domain @schedule-tribe/status
# OR
yarn add rich-domain @schedule-tribe/status
Usage
import { Status } from '@schedule-tribe/status';
// Check if is valid value
const isValid = Status.isValid('booking');
// false