I used Google Market API from Github which uses require as following:
var request = require('request');
var cheerio = require('cheerio');
var qs = require('querystring');
But I am getting the following
ReferenceError: require is not defined ...