@thinwrap/location
Google Maps Platform, Mapbox, HERE, ESRI ArcGIS, TomTom, OSRM (self-hosted)
Thinwrap publishes two TypeScript packages on npm. The claims below hold for TypeScript only — they're the developer-honest version of the umbrella "zero deps, BYO HTTP" pitch, narrowed to what's true on Node.
Google Maps Platform, Mapbox, HERE, ESRI ArcGIS, TomTom, OSRM (self-hosted)
SendGrid, AWS SES, Mailgun, Postmark, Resend, Brevo (Sendinblue), +29
The unified facade surface includes only features that ≥90% of providers natively support. Sub-baseline fields stay accessible via provider-id-narrowed augmented types and the_passthrough escape valve. Cross-language parity with the PHP packages is tracked as a design goal — not a hard release gate — so a connector can land in one language ahead of the other.
Because the wrapper holds no state, retry strategy, token caching, and connection lifecycle live with the consumer. The wrapper performs no automatic retry; Retry-After headers (when present on HTTP 429) are parsed into ConnectorError.providerMessageand the raw header is available on e.cause.retryAfter. There is no structured retryAfterSecondsfield on ConnectorError — by design.