Skip to content

trias-js

trias-js is a TypeScript client for TRIAS 1.2 passenger information services. It targets real deployments (for example EFA/KVV-style endpoints): XML request building, XML response parsing, typed helpers for common requests, and a generic API for every TRIAS 1.2 service and subscription request family.

  • Typed helpers for LocationInformationRequest and TripRequest
  • Generic support for all TRIAS 1.2 service and subscription request names
  • Structured errors for HTTP failures and parse failures
  • ESM build, Node 20+

trias-js intentionally supports TRIAS 1.2 only.