@vlado521/google-it

1.2.1 • Public • Published

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

  • [x] 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)
  });

Package Sidebar

Install

npm i @vlado521/google-it

Weekly Downloads

4

Version

1.2.1

License

MIT

Unpacked Size

12.8 kB

Total Files

16

Last publish

Collaborators

  • vlado521