Skip to main content
Version: v0.0.2

Variable: profiles

const profiles: object

Namespace object exposing the shipped built-in profiles. Each is authored via the public defineProfile() API and grounded in a real Tier-2 fixture.

Type Declaration

availity

readonly availity: X12Profile

bcbsCommon

readonly bcbsCommon: X12Profile

Example

import { parseX12, profiles } from "@cosyte/x12";
const ix = parseX12(raw, { profile: profiles.availity });
ix.profile?.name; // "availity"