@vlado521/google-it

A Node.js library to help retrieve Google search results

Usage no npm install needed!

<script type="module">
  import vlado521GoogleIt from 'https://cdn.skypack.dev/@vlado521/google-it';
</script>

README

googleit Build Status Greenkeeper badge npm version

This library is a modified version of the original google-it library.

It is modified to be used by how2 npm package.

Install

$ npm install --save google-it

Programmatic Use in NodeJS environment

  • something like:
const googleIt = require('google-it');

googleIt({ query: 'covfefe irony' })
  .then(results => {
    // access to results object here
  })
  .catch(e => {
    // any possible errors that might have occurred (like no Internet connection)
  });

// with request options
const options = {
  proxy: 'http://localhost:8118'
};
googleIt({ options, query: 'covfefe irony' })
  .then(results => {
    // access to results object here
  })
  .catch(e => {
    // any possible errors that might have occurred (like no Internet connection)
  });