graphql-print (npm): Print any GraphQL AST node, pretty or minified, with or without comments
Keywords: graphql|print|prettify|format|minify