graphql-list-fields

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

Utility to extract field names from a GraphQLResolveInfo object during query resolution. Current stable version 2.0.4 (last updated 2019). Lightweight, supports fragments, inline fragments, @skip/@include directives, and nested dot-notation. Minimal alternative to apollo-server's field introspection or custom resolver logic.