graphql-fields-list
JSON →Utility library for extracting requested field names from GraphQL resolver info objects. Version 2.3.0 is current stable; released actively with semver. It parses GraphQLResolveInfo to return lists, maps (including nested), or MongoDB-like projection objects. Differentiators: simple API, built-in TypeScript types, and support for directives and field aliases. Alternatives like graphql-fields and graphql-parse-resolve-info have different APIs or are less maintained.
Resources
packagegraphql-fields-list ↗
API endpoints
full doc /v1/registry/graphql-fields-list