Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zzdjk6/graphql-extractor

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.
https://github.com/zzdjk6/graphql-extractor

Last synced: 3 months ago
JSON representation

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.

Awesome Lists containing this project

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?

```bash
npm install -g graphql-extractor

graphql-extract ./tests/fixtures/ ./tests/output/a.json
```

## Example

see "tests/fixtures" for examaple ".graphql" files and "tests/output" for example `output.json`.