1.0.1 • Published 11 months ago
@leyyo/either v1.0.1
Either
Either is an object that represents a choice between two possible objects of potentially two different types. One common use for something
like this is to wrap the execution of a function that can throw an exception such that the exception is bound into an
Either > Result,Exception and thereby remove the need to a try...catch block.
Import
npm i @leyyo/either
Standards
- Language:
TS - Eslint:
Yes - Static Code Analysis:
YesIntelliJ Code Inspections - DDD - Document Driven:
Yes - DDD - Domain Driven:
Yes - EDD - Exception Driven:
Yes - TDD - Test Driven:
Yes - LDD - Log Driven:
Yes - 12FA - 12 Factor-App:
50%Partially
Dependencies
TODO
rimrafclears dist@leyyo/fqnfull qualified name@leyyo/logger
Prepared by
- Mustafa Yelmer
- mustafayelmer(at)gmail.com
2025-01-10
1.0.1
11 months ago