graphql-date-scalars

JSON →
library 0.2.0 ·javascript
verified Jun 7, 2026

GraphQL scalars for Date, DateTime, and Time formats in compliance with ISO 8601 (YYYY-MM-DD, YYYY-MM-DDTHH:MM:SSZ, HH:MM:SSZ). Version 0.2.0 supports both GraphQL v15 and v16, ships TypeScript definitions, and requires Node >=14. Unlike graphql-iso-date (deprecated library this was forked from), this package uses plain resolvers instead of GraphQL scalar interface, making it simpler to integrate. It provides parse/serialize methods for direct usage outside of GraphQL resolvers. Release cadence is ad-hoc with no recent updates.