npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ediflow/edifact-d96a

v0.2.1

Published

EDIFACT D.96A (1996) Standard Definitions - 7 Message Types

Readme

@ediflow/edifact-d96a

EDIFACT D.96A (1996) Standard Definitions

NPM Version License: MIT Package Size

EDIFACT D.96A7 Message TypesMIT LicensedFree


📦 What is this?

This package contains EDIFACT D.96A (1996) standard definitions for use with @ediflow/core.

Includes:

  • Message structures (7 message types)
  • Segment definitions
  • Element definitions
  • Composite definitions
  • Code lists

Version: D.96A (1996) - Early EDIFACT standard


🚀 Installation

# Install core library (required)
npm install @ediflow/core

# Install this standard package
npm install @ediflow/edifact-d96a

📊 Supported Message Types (7)

| Message Type | Description | Use Case | |--------------|-------------|----------| | DESADV | Despatch Advice | Shipping notifications | | INVOIC | Invoice | Billing documents | | ORDERS | Purchase Order | Order placement | | ORDRSP | Order Response | Order confirmations | | PRICAT | Price Catalogue | Product pricing | | RECADV | Receiving Advice | Goods receipt | | SLSRPT | Sales Report | Sales data |


📖 Usage Example

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

const container = DIContainer.getInstance();
const parseUseCase = container.resolve('ParseEDIUseCase');
const validateUseCase = container.resolve('ValidateMessageUseCase');

// Parse EDIFACT message
const parsed = parseUseCase.execute({
  message: edifactString,
  standard: 'EDIFACT'
});

// Validate against D.96A structure
const validation = validateUseCase.execute({
  message: parsed.message,
  messageType: 'ORDERS',
  version: 'D96A',
  repositoryPath: './node_modules/@ediflow/edifact-d96a/data'
});

if (validation.success) {
  console.log('✅ Valid D.96A ORDERS message!');
}

📁 Package Contents

@ediflow/edifact-d96a/
└── data/
    ├── codes/               # Code lists
    ├── composites.json      # Composite elements
    ├── elements.json        # Data elements
    ├── messages/            # Message structures (7 types)
    │   ├── DESADV.json
    │   ├── INVOIC.json
    │   ├── ORDERS.json
    │   ├── ORDRSP.json
    │   ├── PRICAT.json
    │   ├── RECADV.json
    │   └── SLSRPT.json
    └── segments.json        # Segment definitions

Package Size: ~0.32 MB


🎯 When to Use D.96A

Use D.96A if:

  • ✅ Trading partner requires D.96A specifically
  • ✅ Legacy system integration (1996-2000 era)
  • ✅ Early EDIFACT adopter
  • ✅ Automotive industry (early implementations)

Consider newer versions if:

  • 🔄 D.20B - Latest standard (2020) - More message types
  • 🔄 D.12A - Comprehensive (196 message types)
  • 🔄 D.01B - Intermediate standard (2001)

📦 Related Packages

Core:

Other EDIFACT Standards:


📚 Documentation


🤝 Contributing

Data corrections or additional message types? We welcome contributions!


📄 License

MIT License - see LICENSE


🔗 Links


Made with ❤️ for the EDI community