graphql-hive/graphql-scalars
A library of custom GraphQL Scalars for creating precise type-safe GraphQL schemas. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 62
- age_days: 3365
- days_rel: 13
- days_push: 13
- n_releases_24m: 6
Adoption not part of the score
1930 stars · 141 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library of custom GraphQL scalar types (e.g., DateTime, EmailAddress, UUID, BigInt, URL) for building precise, type-safe GraphQL schemas. It works with any graphql-js-based server such as Apollo Server and GraphQL-Yoga.
Use cases
- validate email addresses in a graphql schema
- add datetime scalar to graphql api
- use bigint in graphql schema
- enforce uuid format in graphql field
- create type-safe graphql schema with custom scalars
- generate custom scalar from regex in graphql
When to choose
- you need well-tested, standardized scalar types for a graphql-js-based server
- you want input validation at the schema level instead of resolver code
- you need scalars like DateTime, EmailAddress, URL, or JSON across Apollo Server or GraphQL-Yoga
When to avoid
- your server is not built on graphql-js (e.g., some non-JS runtimes)
- you only need one or two trivial scalars that are easy to define inline
- you need scalars for a non-GraphQL API style like REST
Facets
library · maturity stable
graphql form-handling serialization type-system web-development apis backend developer-tools cross-platform graphql-scalars schema-design type-safety the-guild typescript nodejs web-server
10 sources
- readme: https://github.com/graphql-hive/graphql-scalars · fetched 2026-08-28 · 4dc5ffce179c
- homepage: https://www.the-guild.dev/graphql/scalars · fetched 2026-08-29 · d6a1f6d8a8aa
- site_page: https://the-guild.dev/graphql/scalars/docs · fetched 2026-08-29 · b39d00cc47cf
- site_page: https://the-guild.dev/about-us · fetched 2026-08-29 · 4c4f11519fb9
- site_page: https://the-guild.dev/graphql/scalars/docs/quick-start · fetched 2026-08-29 · 9fc7a9287f78
- site_page: https://the-guild.dev/graphql/scalars/docs/scalars/account-number · fetched 2026-08-29 · a781a09eaa42
- site_page: https://the-guild.dev/graphql/scalars/docs/scalars/big-int · fetched 2026-08-29 · 793f5824cc14
- site_page: https://the-guild.dev/graphql/scalars/docs/scalars/byte · fetched 2026-08-29 · 806259eca4e7
- site_page: https://the-guild.dev/graphql/scalars/docs/scalars/country-code · fetched 2026-08-29 · 024006291471
- site_page: https://the-guild.dev/graphql/scalars/changelog · fetched 2026-08-29 · 73b905e3152d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| graphql-hive/graphql-scalars | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="graphql-hive/graphql-scalars")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem