0.0.1 • Published 1 year ago

@schedule-tribe/status v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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