Examples

Integration examples showing how to use @ocpp-debugkit/toolkit in your projects. Each example is a standalone project in the examples/ directory of the repository.

Available Examples

  • simple-trace — Parse a trace, detect failures, generate a Markdown report. Demonstrates the core analysis pipeline.
  • simple-csms — Validate incoming traces (CSMS mock), check for failures. Demonstrates message validation.
  • simulator-output — Process JSONL simulator output, generate an HTML report. Demonstrates JSONL parsing and HTML report generation.
  • ci-example — Use ocpp-debugkit ci in GitHub Actions workflows. Demonstrates CI integration with scenario files.

Running Examples

Each example is standalone. Clone the repo and run:

cd examples/simple-trace
npm install
npm start

Links