Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Types

Collection of clean, agnostic, and reusable lifecycle and capability interfaces.

Description

This library provides a foundational set of standard TypeScript interfaces (such as Disposable, Configurable, Serializable, and more) designed to unify architectural patterns across different libraries and packages without locking you into concrete implementations.

Features

  • Clonable: Defines objects capable of creating copies of themselves.
  • Configurable: Standardized configuration management with settings typing.
  • Disposable: Universal resource disposal and cleanup contract.
  • Exposable: Selective exposure of internal states or properties.
  • Flushable: Flushing and clearing of buffers, logs, or caches.
  • Hashable: Unique signature generation and integrity checking.
  • Inspectable: Safe introspection of internal states for debugging.
  • Mergeable: Combining states or configurations seamlessly.
  • ReadonlyViewable: Providing safe, read-only projections of objects.
  • Refreshable: Recaching and synchronizing dynamic states.
  • Restorable: Snapshot-based recovery and undo mechanisms.
  • Serializable: Flattening objects into storable or transmittable formats.

Getting Started

Prerequisites

Installation

deno add jsr:@rayscale/types

About

Collection of clean, agnostic, and reusable lifecycle and capability interfaces.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages