GraphQL Scalars
Ready-made custom GraphQL scalar types (DateTime, Email, URL and more).
Forms, validation and schemas npm MIT
How GraphQL Scalars is used
GraphQL Scalars joined the catalog on its public numbers (1,924,574 downloads a week on npm and 1,931 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 3 of them set up for AI coding agents. Projects that use it most often also use GraphQL.js (100.0%), dotenv (80.0%), Prettier (80.0%).
GraphQL Scalars popularity over time
Gid Score 41: downloads 70, use in agent projects 7, GitHub stars 23, downloads trend 59 (each 0-100). How it is calculated.
Often used with GraphQL Scalars
| GraphQL.js | 100.0% of GraphQL Scalars projects · 159.2× more than average |
|---|---|
| dotenv | 80.0% of GraphQL Scalars projects · 5.1× more than average |
| Prettier | 80.0% of GraphQL Scalars projects · 3.8× more than average |
| ESLint | 100.0% of GraphQL Scalars projects · 2.7× more than average |
| cors | 60.0% of GraphQL Scalars projects · 19.0× more than average |
| tsx | 60.0% of GraphQL Scalars projects · 4.0× more than average |
| Apollo Client | 60.0% of GraphQL Scalars projects · 232.8× more than average |
| GraphQL Code Generator | 60.0% of GraphQL Scalars projects · 186.2× more than average |
Install
| Package | npm install graphql-scalars |
|---|---|
| Main stacks | TypeScript / JavaScript (3), Rust (1), Next.js (1) |
| Example projects | JesusFilm/core |
Alternatives to GraphQL Scalars
In our scan, none of the most used tools in Forms, validation and schemas does the same job as GraphQL Scalars: they are add-ons, companions or tools for a different task.
More in Forms, validation and schemas: Zod React Hook Form Pydantic React Hook Form Resolvers Ajv jsonschema ajv-formats Protocol Buffers