f / graphql.js

A Simple and Isomorphic GraphQL Client for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It seems the "http.js" and "https.js" and "url.js" is needed?

chaim007 opened this issue · comments

commented

It seems the "http.js" and "https.js" abd "url.js" is needed? where can i find these js files?

--- graphql.js ----

xhr.send(body)
} else if (typeof require == 'function') {
var http = require('http'), https = require('https'), URL = require('url'), uri = URL.parse(url);
var req = (uri.protocol === 'https:' ? https : http).request({
protocol: uri.protocol,
hostname: uri.hostname,

They are built-in Node libraries to use with Node.

commented

I got it.. Thanks a ton. ^^