graphql-transform-scalars

JSON →
library 2.2.0 ·javascript
verified Jun 7, 2026

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.