API reference@evolu/commonlocal‑first/Evolu › AppName

const AppName: brand("AppName", UrlSafeString, (value) =>
  value.length >= 1 && value.length <= 41
    ? ok(value)
    : err<AppNameError>({ type: "AppName", value }),
);

Defined in: packages/common/src/local-first/Evolu.ts:246

Application name.

Evolu uses AppName as the base prefix for Evolu.name. The final instance name is derived per AppOwner as ${appName}-${createIdFromString(appOwner.id)}.

Uses the same safe alphabet as UrlSafeString (letters, digits, -, _) and must be between 1 and 41 characters.