0.3.0 • Published 2 months ago

tsfy v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months 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

2 months ago

0.2.1

3 months ago

0.2.2

3 months ago

0.2.0

3 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago