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.
What you get
Section titled “What you get”- Typed helpers for
LocationInformationRequestandTripRequest - Generic support for all TRIAS 1.2 service and subscription request names
- Structured errors for HTTP failures and parse failures
- ESM build, Node 20+
Version scope
Section titled “Version scope”trias-js intentionally supports TRIAS 1.2 only.
Next steps
Section titled “Next steps”- Getting started: install and create a client
- Location & trip requests: high-level search and routing
- Generic API: any TRIAS request body
- Errors:
TriasHttpError,TriasParseError, and related types - API reference: full method and export list