File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ var output = graphqlite.parse(`
32
32
}
33
33
}
34
34
` )
35
+
36
+ var backToString = graphqlite .stringify (output)
35
37
```
36
38
37
39
In the above example, ` output ` will be:
@@ -67,15 +69,13 @@ In the above example, `output` will be:
67
69
]
68
70
```
69
71
72
+ ` stringify ` takes the output from ` parse ` and generates a minified GraphQL string.
73
+
70
74
## Roadmap
71
75
Facebook will be releasing a GraphQL module in the future, but I didn't know what to expect from this
72
76
so I created this basic one as an experiment.
73
77
Therefore this module could become obselete in the future.
74
78
75
- I do plan on adding some additional features though:
76
- - GraphQL generation from object
77
- - Other ideas welcome
78
-
79
79
## License
80
80
81
81
Licensed under the MIT License.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " graphqlite" ,
3
- "version" : " 0.0.1 " ,
3
+ "version" : " 0.0.2 " ,
4
4
"description" : " An experimental implementation of Facebook's GraphQL" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments