@raynode/graphql-anywhere
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Node.js version NPM version tested with jest build with travis-ci semantic-release Greenkeeper badge

graphql-anywhere

This is a graphql server-ish module that enables you to run a graphql resolver anywhere. This is thought to be used in the browser as a first step to integrating graphql later in the production cycle.

  • TypeScript 2.5 to ES6 transpilation
  • TSLint 5.x
  • Jest unit testing and code coverage
  • Type definitions for Node.js v6.x (LTS) and Jest
  • .editorconfig for consistent file format

Getting Started

Install graphql-anywhere using npm:

npm i graphql-anywhere

Usage

import { createServer } from 'graphql-anywhere'

const { client } = createServer({ typeDefs, resolver })
import { queryRequestFactory, queryFactory, createClient, createServer } from 'graphql-anywhere'

Contributing

If you want to help with this project, just leave a bugreport or pull request. I'll try to come back to you as soon as possible

License

MIT

/@raynode/graphql-anywhere/

    Package Sidebar

    Install

    npm i @raynode/graphql-anywhere

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • lordnox
    • tkopelke
    • raynode-admin