graphql-custom-directives

JSON →
library 0.2.16 ·javascript maintenance
verified Jun 7, 2026

graphql-custom-directives v0.2.16: a collection of reusable GraphQL schema directives for transforming field values (date formatting, number/currency, string casing, trimming, templating, phone formatting) at query execution time. Built on Moment, Lodash, and Numeral-js. Compatible with graphql-js and Apollo Server. Current stable version is 0.2.16 (last updated 2019); release cadence is low – no updates since 2019. Key differentiator: provides ready-made directive implementations without needing to write custom directive classes. Contrast with graphql-custom-directive (a library for authoring new directives).