Enterprise-grade deterministic localization and CloudFront migration platform v1.0.0. Synchronizes i18n assets across CDN while providing source-of-truth conflict resolution. Key differentiators include immutability-by-default, probabilistic cache invalidation simulation, and an AI-driven translation memory module. Requires Node >=18, pnpm >=8. Uses ESM-only distribution, no CommonJS support.
npm install ai-localize-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup of CloudFrontSync with AWS credentials and syncing a French locale string.
Use import syntax and ensure package.json has 'type': 'module' or .mjs extension.
Pass conflict resolution strategy via the 'strategy' option in the sync call instead.
Always supply distributionId or set environment variable CLOUDFRONT_DISTRIBUTION_ID.
Set REDIS_URL environment variable or pass redisConfig in LocalizeOptions.
Switch to ESM import statement: import { CloudFrontSync } from 'ai-localize-core'Upgrade Node.js to version 18.0.0 or later.
Set REDIS_URL environment variable or pass redisConfig in options.