node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

gql-format

gql-format

standard-readme compliant npm npm npm

Tools for formatting GraphQL documents

Table of Contents

Installation

$ npm i -g gql-format

CLI

$ gql-format -h
 
  Usage: gql-format [options] <glob>
 
  Tools for formatting GraphQL documents
 
  Options:
 
    -h, --help     output usage information
    -V, --version  output the version number
 

API

More detailed docs coming soon.

formatFileGlob

formatFilePaths

formatString