Skip to main content

@0xc/ddd@0.1.1

latest
JSR Score
47%
Published
2 weeks ago (0.1.1)

@0xc/ddd

This package provides some foundations for a domain-driven design-oriented project.

Contents

  • Config: Straightforward config loading interface
  • Entities: Entities, Aggregates, and more
  • Errors: Common error cases
  • Events: Domain events
  • FP: Some functional utility necessities
  • Invariance: Ensuring valid state for business logic
  • Repositories: Persistence and data access capabilities oriented for entities
  • ValueObjects: Immutable value object components

Add Package

deno add @0xc/ddd

Import symbol

import * as mod from "@0xc/ddd";

Add Package

npx jsr add @0xc/ddd

Import symbol

import * as mod from "@0xc/ddd";

Add Package

yarn dlx jsr add @0xc/ddd

Import symbol

import * as mod from "@0xc/ddd";

Add Package

pnpm dlx jsr add @0xc/ddd

Import symbol

import * as mod from "@0xc/ddd";

Add Package

bunx jsr add @0xc/ddd

Import symbol

import * as mod from "@0xc/ddd";