1.2.1 • Published 5 years ago

@vlado521/google-it v1.2.1

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

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)
  });