Open Source · MIT Licensed

The TypeScript EDI Toolkit

"Like water, find your way."

Parse, validate, and build EDI messages with intuitive business object mapping. The only toolkit that speaks your language, not cryptic codes.

View on GitHub
npm install @ediflow/core
1,400+
Message Types
711
Tests
0
Dependencies
100%
TypeScript

Why EdiFlow?

Built for developers who need a complete, modern EDI solution — not another abandoned parser.

Business Object Mapping

Work with real business names like buyer, seller, and orderNumber — not cryptic segment codes like NAD+BY or BGM.

Human-Readable

Full EDI Lifecycle

Parse → Validate → Build. Other libraries only parse. EdiFlow handles the complete cycle with schema validation and message generation.

Parse · Validate · Build

Schema Generation

Auto-generate JSON Schema and TypeScript types from EDI specifications. Full intellisense and compile-time safety for your EDI integrations.

JSON Schema + TypeScript

All Standards Supported

UN/EDIFACT (1,400+ message types), ANSI X12, HIPAA, EANCOM. Comprehensive coverage for global trade and healthcare EDI.

EDIFACT · X12 · HIPAA · EANCOM

Powerful CLI Tool

Parse, validate, and convert EDI files from the command line. Perfect for CI/CD pipelines and quick debugging sessions.

CLI Included

Clean Architecture

Zero runtime dependencies. Clean separation of concerns. 711 comprehensive tests. Built for enterprise reliability.

Zero Dependencies

Get Started in Seconds

Parse your first EDI message with just 3 lines of code.

parse-order.ts
// Install
// npm install @ediflow/core

import { EdiFlow } from '@ediflow/core';

// Parse an EDIFACT message
const ediflow = new EdiFlow();
const result = ediflow.parse(ediMessage);

// Access data with human-readable names
console.log(result.buyer.name);        // "Acme Corporation"
console.log(result.orderNumber);         // "PO-2024-001"
console.log(result.items[0].quantity); // 100

// Validate against schema
const validation = ediflow.validate(result);
if (validation.isValid) {
  // Build response message
  const response = ediflow.build('ORDRSP', responseData);
}

How We Compare

See why developers are choosing EdiFlow over legacy alternatives.

Feature EdiFlow node-edifact ts-edifact node-x12
Status Active 2024 Abandoned 2020 Abandoned 2021 Abandoned 2022
Business Object Mapping ✓ ✗ ✗ ✗
Parse EDI ✓ ✓ ✓ ✓
Validate EDI ✓ Partial ✗ Partial
Build EDI Messages ✓ ✗ ✗ Partial
TypeScript Types ✓ Native ✗ Basic @types
Schema Generation ✓ ✗ ✗ ✗
EDIFACT Support 1,400+ types Limited Limited ✗
X12 Support ✓ ✗ ✗ ✓
HIPAA Support ✓ ✗ ✗ Partial
CLI Tool ✓ ✗ ✗ ✗
Zero Dependencies ✓ ✗ ✗ ✗

Coming Soon

We're just getting started. Here's what's on our roadmap.

Q3 2026

REST API + TypeScript SDK

Self-hosted EDI parsing, validation, and building via REST endpoints. TypeScript SDK for seamless npm integration.

Q4 2026

Web App + Playground

Interactive web interface to parse, visualize, and build EDI messages. Perfect for learning and debugging.

Join the Community

Get started, contribute, or just say hello.