graphql-type-ints

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

GraphQL scalar types for integers with arbitrary precision and bounds, including 8/16/32/64-bit signed and unsigned integers. Version 1.0.2 is the latest stable release. The library uses JavaScript's BigInt for 64-bit integers (GraphQLKind STRING) and supports custom range validation via factory functions. Key differentiator: it provides precise integer types beyond JavaScript's 53-bit number precision, unlike basic GraphQLInt. Requires Node >=10.4.0 and graphql >=0.13.0.