1.0.1 • Published 7 years ago
graphql-extractor v1.0.1
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.