graphql-type-json
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -26,3 +26,3 @@ 'use strict'; | ||
var _ret = function () { | ||
var value = {}; | ||
var value = Object.create(null); | ||
ast.fields.forEach(function (field) { | ||
@@ -29,0 +29,0 @@ value[field.name.value] = parseLiteral(field.value); |
{ | ||
"name": "graphql-type-json", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "JSON scalar type for GraphQL.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -5,2 +5,8 @@ # graphql-type-json [![Travis][build-badge]][build] [![npm][npm-badge]][npm] | ||
## Usage | ||
```js | ||
import GraphQLJSON from 'graphql-type-json'; | ||
``` | ||
[build-badge]: https://img.shields.io/travis/taion/graphql-type-json/master.svg | ||
@@ -7,0 +13,0 @@ [build]: https://travis-ci.org/taion/graphql-type-json |
4314
16