graphql-extractor
v1.0.1
Published
Extract GraphQL queries and build a map to use as persisted query.
Readme
graphql-extractor
Overview
This is a command line tool to scan your ".graphql" files, and then build a map json file from compressed query to uuid, which can be used as persisted query later on.
How to use?
npm install -g graphql-extractor
graphql-extract ./tests/fixtures/ ./tests/output/a.jsonExample
see "tests/fixtures" for examaple ".graphql" files and "tests/output" for example output.json.
