Preparing for system design interviews?  Try bugzed.com →

graphql-type

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

graphql-type v1.1.1 is a GraphQL type creation helper that provides functions to quickly define GraphQL scalar types with built-in validation for strings, integers, and floats. It supports bi-directional validation (input and output) as well as uni-directional (input-only or output-only). Key features include min/max length, regex, custom test functions, and custom error messages for strings; min/max and test for integers; plus maxDecimals for floats. Compared to manually creating custom scalars with GraphQL's GraphQLScalarType, graphql-type offers a simpler API and consistent validation patterns. Released under MIT license, the package is stable but has not seen updates since 2018, suggesting low maintenance cadence.

total hits 8
actors 1 distinct systems
last hit 21d ago human
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇧🇪 Belgium · 🇫🇷 France