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

Install Socket

Detect and block malicious and high-risk dependencies

Install
n

googler

A library for the Web Google Search APIs

1.0.0
latest
68

Supply Chain Security

100

Vulnerability

80

Quality

76

Maintenance

100

License

Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Issues
0

node-google

A client for Google AJAX Web Search API on Node.js

Installation

$ git clone git://github.com/thinkphp/node-google.git
$ npm install node-google

Touch app.js and add:

var google = require('googler')

var g = google({appid:'your-api-key'})

g.search('MooTools', function(error, response, results){

  console.log(results[3].content) 
})

Run the app

$ node app.js

otherwise

$ mkdir myApp
$ cd myApp
$ npm install googler
$ touch app.js # and add
var google = require('googler')

var g = google({appid:'asdads'})

g.search('Adrian Statescu', function(error, response, results){
  console.log(results[0].content)
})

License

MIT

FAQs

Package last updated on 20 Mar 2013

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