core-types

JSON →
library 3.1.0 ·javascript
verified Jun 7, 2026

Generic type declarations and utilities for converting between TypeScript, GraphQL, JSON Schema and other type systems. Current stable version: 3.1.0. Pure ESM package requiring Node >=14.13.1 || >=16.0.0. Used by packages like core-types-json-schema, core-types-ts, core-types-graphql, core-types-suretype, and typeconv. Key differentiator: provides a minimal, well-defined set of types (any, null, boolean, string, number, object, array, tuple, ref, union, intersection) as an interchange format, with simplification, validation, and traversal functions. Supersedes ad-hoc type conversion by providing a normalized intermediate representation.