Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Introduction

The @frame/core package holds foundational configurations, data schemas, and shared business logic for the FRAME monorepo. It is the single source of truth for validations and core utilities, keeping frontend apps and backend services consistent.

The package stays decoupled from implementation details and exposes agnostic schemas and tools that work anywhere in the stack.

[!TIP] Framework-agnostic data layer This package runs anywhere JavaScript/TypeScript runs. It works with React frontends, NestJS backends, and Edge runtimes. It contains pure TypeScript logic and Zod schemas, with no UI or server-specific dependencies.

  • Zod: TypeScript-first schema declaration and validation used throughout for data integrity.

Almost every package and application depends on @frame/core. The package itself keeps dependencies minimal to avoid circular imports.

  • Applications (astro, nest, next): schema validation and shared types
  • Feature packages (@frame/models, @frame/auth, and others): base configuration utilities