jcblw / graphql-export

graphql-export exports graphql queries to a format that can be imported into insomnia api client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphql-export

This is a teeny tiny program that helps to export your graphql queries from the server to insomnia graphql requests

Requirements

Yarn package manager

NodeJS

Quick Use

yarn global add graphql-export

// For postman exports
graphql-export -u http://my-graph-ql-server-root -f postman

//For insomnia exports
graphql-export -u http://my-graph-ql-server-root -f insomnia

After running the command, an export.json file is generated which you can then import into insomnia api client

About

graphql-export exports graphql queries to a format that can be imported into insomnia api client


Languages

Language:TypeScript 99.5%Language:JavaScript 0.5%