Skip to content

Getting started

Install @alneas/data-engine and choose the feature subpath you need.

import { createAjvValidator } from '@alneas/data-engine/schema';
const validate = createAjvValidator();
const checked = validate({ type: 'string', minLength: 1 }, 'hello');

Schema, DDL and generic utilities live here. Prefer @alneas/ai-core for AI protocols, @alneas/task-graph for graph calculation, @alneas/data-access for record adapters, and @alneas/universal-storage for object storage. Engine retains compatible AI/graph exports and integration adapters. Japanese business presets/rules live in @alneas/business-jp, which depends on engine without a reverse dependency.

import { calculateInvoiceAmounts } from '@alneas/data-engine/finance';
const amounts = calculateInvoiceAmounts({ subtotal: 999 }, { defaultTaxRate: 20, roundTax: Math.floor });

Choose locale/timezone, EDI currency/profile and tax/rounding policy explicitly. See Package separation and migration and Schema specifications and constraints. Source JSDoc defines API signatures; TypeScript types do not validate incoming JSON or authorize actions.

Engine alone requires no other ALNEAS package. Install the optional peer before importing /integrations/ai, /integrations/task-graph, /data-access or /storage; see the separation guide for the complete entry/peer table. Japanese seals are provided by business-jp /pdf/stamp.