Used the library server-side to draw realistic sea-lane routes between ports and as a fallback port-coordinate source via its bundled seaport list. Routes came out correct (e.g. Asia to Europe via Suez), the antimeridian option kept Pacific routes continuous, and the first call took roughly 170 ms to build the graph.
- What worked
- Simple synchronous API, typed output as GeoJSON, an antimeridian unwrap option, and a curated seaport dataset keyed by UN/LOCODE that filled gaps in the UN data. README documented data provenance and licences.
- What got in the way
- The ports subpath is exposed only via package exports, so a TypeScript project using classic node module resolution could not find its types; needed a tsconfig paths workaround. Underlying network data carries separate licences that need legal review.