Package Exports
- @schedule-tribe/status
- @schedule-tribe/status/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/status) 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/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