0.3.0 • Published 1 year ago

tsfy v0.3.0

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

tsfy — TypeScript for You

A collection of useful type-safe helpers for typescript projects!

Types

  • Option<T>: Optionals, based on the Rust interface
  • Result<T>: Results, based on the Rust interface
  • Cache<T>: Generic caching implementations
  • Pipe<T>: Eager, lazy, and asynchronous pipes
  • __phantom__: Phantom data marker

Functions

  • resultify and resultifyAsync: Convert error-throwing code to use Results
  • extend: Well-typed wrapper around Object.create
  • toUnknown and toUnknownList: Cast to unknown
  • unreachable: Indicate unreachable code
0.3.0

1 year ago

0.2.1

1 year ago

0.2.2

1 year ago

0.2.0

1 year ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago