Skip to content

fgrzl/es-ts

Repository files navigation

es-ts

A TypeScript port of the fgrzl/es event sourcing library.

Overview

es-ts is a small, strongly typed event sourcing core for TypeScript.

Key features:

  • typed domain event descriptors and polymorphic serialization
  • aggregate event wiring with raise() and audit() support
  • metadata stamping with correlation, causation, sequence, and timestamp
  • in-memory store and repository semantics for load/save workflows
  • Scope-aware entity identities for global and tenant aggregates

Getting Started

Install dependencies with npm:

cd es-ts
npm ci

Build a package:

npm run build

Run tests:

npm run test

Run benchmarks:

npm run bench

Format the code:

npm run fmt

Lint the code:

npm run lint

Run a local dev server:

npm run dev

Documentation

License

es-ts is licensed under the Apache License 2.0. See the repository LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors