Libraries Overview

The LSSM ecosystem provides a comprehensive set of TypeScript libraries for building modern web and mobile applications. All libraries are designed to work together seamlessly while remaining modular and independently useful.

Data & Backend

@lssm/app.cli-database

Prisma wrapper and CLI for schema management

@lssm/lib.bus

Type-safe event bus for in-memory and distributed events

@lssm/lib.logger

Structured logging optimized for Bun with Elysia integration

GraphQL

@lssm/lib.graphql-core

Shared Pothos builder with plugins

@lssm/lib.graphql-prisma

Prisma integration for Pothos schemas

@lssm/lib.graphql-federation

Apollo Federation support for Pothos

Philosophy

All LSSM libraries follow these principles:

  • Type Safety First: Full TypeScript support with strict types.
  • Modular: Use only what you need, tree-shake the rest.
  • Platform Aware: Optimized for both Web and Native where applicable.
  • Single Source of Truth: Avoid duplication between layers (REST, GraphQL, Zod).
  • Developer Experience: Clear APIs, comprehensive docs, and helpful error messages.