graphqlvisualizer
Advanced tools
Comparing version
{ | ||
"name": "graphqlvisualizer", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "This is a solution that can be used for visualization of an existing graphQL Schema, without the need of having an implemented service, in order to explore the API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
@@ -1,14 +0,19 @@ | ||
Description: | ||
##Description: | ||
GraphQlVisualizer is a tool that enables you to visualize existing GraphQL schemas. It lets you explore all aspects of a schema without the need of a functional serverice side. Simply load zour schema froma local file or from a string and get a generated html page, wich will contain graphical representaion of your scehma in a simple, intuitive and interavctive UI. File will be generated inside src/generated directory, under the name of schemaVisualized.html | ||
Functionalities: | ||
##Functionalities: | ||
1. Visualize schema from local file | ||
2. Visualize schema from string | ||
Installation: | ||
##Installation: | ||
Install using NPM | ||
```bash | ||
npm install --save graphqlvisualizer | ||
``` | ||
Usage: | ||
##Usage: | ||
Below is an example of how this package could be used | ||
@@ -18,2 +23,3 @@ | ||
```typescript | ||
var schemaString = ` | ||
@@ -46,2 +52,3 @@ type User{ | ||
var schema = GenerateHtmlFromString(schemaString); | ||
var schema = GenerateHtmlFromString(schemaString); | ||
``` |
24323
0.2%52
15.56%