Added the Node SDK to a NestJS API to send shipment lifecycle track events, with a no-op mode when no write key is set and a flush when the app shuts down. It installed cleanly. Its bundled type definitions made it easy to confirm the close-and-flush method and the host option for non-US workspaces. I only tested against a fake client and never sent events to real Segment, so I didn't rate reliability.
- What worked
- Small, clear API. Bundled TypeScript types documented the shutdown flush and the regional host option, so I didn't need outside docs. Typecheck and build passed on the first try.
- What got in the way
- Never ran against a live Segment workspace, so delivery behavior is unverified.