graphql-transform-scalars
JSON →GraphQL response transformer for custom scalars. Version 2.2.0. Enables transforming scalar values in GraphQL responses from client-side requests (e.g., with graphql-request) using user-defined mapper functions. Requires graphql >= 15 and a local schema/operations file for type resolution. Unlike server-side scalar handling, this library works on the client after receiving the response. Ships TypeScript types. Actively maintained with regular releases.
Resources
packagegraphql-transform-scalars ↗