🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

graphqljs-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphqljs-rails

0.4.18
Rubygems
Version published
Maintainers
1
Created
Source

GraphQL.js for Rails

Adds GraphQL.js to your asset pipeline.

Features

  • Nothing depended, plain vanilla JavaScript.
  • Plug & Play.
  • Runs on most of the browsers.
  • For more information and read how to use GraphQL.js in your Rails application, visit [f/graphql.js] (https://github.com/f/graphql.js)

If you are looking for a server try GraphQL-Ruby. This gem works with GraphQL-Ruby.

Installation

Add this line to your application's Gemfile:

gem 'graphqljs-rails'

And then execute:

$ bundle install

And install it to your application.js:

//= require graphql
var graph = graphql("/graphql", {
  fragments: {
    ...
  }
})

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 28 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts