graphql-tag-pluck

last updated: Oct 20, 2023

https://the-guild.dev/graphql/tools/docs/graphql-tag-pluck

@graphql-tools/graphql-tag-pluck will take JavaScript code as an input and will pluck all template literals provided to graphql-tag.

Many graphql APIs seem to be documented with just strings inside source files; this code will check for them and pull them out.

I found it via checking what graphql-eslint uses for parsing out graphql

Part of the larger graphql-tools repo, which is documented here

↑ up