1.1.3 • Published 9 years ago

graphql-readable v1.1.3

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

graphql-readable

npm.io Code Climate Coverage Status npm package NPM downloads semantic-release

Parse the JSON of full schema introspection to the readable type system.

How to use

npm install graphql-readable --save-dev
// generator.js
var fs = require('fs')
var path = require('path')
var parser = require('graphql-readable')
var schema = require('./schema.json')

fs.writeFileSync(
  path.join(__dirname, './schemaType.graphql'),
  parser(schema, 'GraphQL')
)

fs.writeFileSync(
  path.join(__dirname, './schemaType.json'),
  parser(schema, 'JSON')
)
node ./generator.js
1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago